@@ -581,13 +581,19 @@ Default: Disabled
581581Set the flag to enable executable profiling for TARGETs and all its
582582dependencies.
583583
584+ The flag affects the location of the local project installation directory. See
585+ the [ ` stack path --local-install-root ` ] ( path_command.md ) command.
586+
584587### ` --[no-]executable-stripping ` flag
585588
586589Default: Enabled
587590
588591Unset the flag to disable executable stripping for TARGETs and all its
589592dependencies.
590593
594+ The flag may affect the location of the local project installation directory.
595+ See the [ ` stack path --local-install-root ` ] ( path_command.md ) command.
596+
591597### ` --fast ` flag
592598
593599GHC has many flags that specify individual optimisations of the compiler. GHC
@@ -636,13 +642,19 @@ Default: Disabled
636642
637643Set the flag to enable library profiling for TARGETs and all its dependencies.
638644
645+ The flag affects the location of the local project installation directory. See
646+ the [ ` stack path --local-install-root ` ] ( path_command.md ) command.
647+
639648### ` --[no-]library-stripping ` flag
640649
641650Default: Enabled
642651
643652Unset the flag to disable library stripping for TARGETs and all its
644653dependencies.
645654
655+ The flag may affect the location of the local project installation directory.
656+ See the [ ` stack path --local-install-root ` ] ( path_command.md ) command.
657+
646658### ` --pedantic ` flag
647659
648660Pass the flag to build your project with the GHC options ` -Wall ` and ` -Werror ` .
@@ -654,6 +666,9 @@ Pass the flag to build your project with the GHC options `-Wall` and `-Werror`.
654666Pass the flag to enable profiling in libraries, executables, etc. for all
655667expressions, and generate a profiling report in tests or benchmarks.
656668
669+ The flag affects the location of the local project installation directory. See
670+ the [ ` stack path --local-install-root ` ] ( path_command.md ) command.
671+
657672### ` --[no-]split-objs ` flag
658673
659674:octicons-beaker-24: Experimental
@@ -677,11 +692,17 @@ executables, etc. for all expressions, producing larger executables but allowing
677692the use of standard debuggers/profiling tools/other utilities that use debugging
678693symbols.
679694
695+ The flag affects the location of the local project installation directory. See
696+ the [ ` stack path --local-install-root ` ] ( path_command.md ) command.
697+
680698### ` --trace ` flag
681699
682700Pass the flag to enable profiling in libraries, executables, etc. for all
683701expressions, and generate a backtrace on exception.
684702
703+ The flag affects the location of the local project installation directory. See
704+ the [ ` stack path --local-install-root ` ] ( path_command.md ) command.
705+
685706## Flags affecting other tools' behaviour
686707
687708### ` --PROG-option ` options
0 commit comments