Skip to content

Commit 7f8ab78

Browse files
committed
Fix commercialhaskell#6566 Update --split-objs documentation
1 parent 5f4e324 commit 7f8ab78

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/build_command.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ the [`stack path --local-install-root`](path_command.md) command.
711711

712712
Default: Disabled
713713

714-
Set the flag to enable the GHC option `--split-objs`. This will reduce output
714+
Set the flag to enable the GHC option `-split-objs`. This will reduce output
715715
size (at the cost of build time).
716716

717717
!!! note
@@ -721,6 +721,11 @@ size (at the cost of build time).
721721
compile all dependencies with split-objs, you will need to delete the
722722
snapshot (and all snapshots that could reference that snapshot).
723723

724+
!!! note
725+
726+
GHC's `-split-objs` flag was deprecated in favour of `-split-sections` in
727+
GHC 8.2.1 and was not supported by GHC on any platform from GHC 8.10.1.
728+
724729
### `--no-strip` flag
725730

726731
Pass the flag to disable DWARF debugging symbol stripping in libraries,

0 commit comments

Comments
 (0)