@@ -581,13 +581,19 @@ Default: Disabled
581
581
Set the flag to enable executable profiling for TARGETs and all its
582
582
dependencies.
583
583
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
+
584
587
### ` --[no-]executable-stripping ` flag
585
588
586
589
Default: Enabled
587
590
588
591
Unset the flag to disable executable stripping for TARGETs and all its
589
592
dependencies.
590
593
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
+
591
597
### ` --fast ` flag
592
598
593
599
GHC has many flags that specify individual optimisations of the compiler. GHC
@@ -636,13 +642,19 @@ Default: Disabled
636
642
637
643
Set the flag to enable library profiling for TARGETs and all its dependencies.
638
644
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
+
639
648
### ` --[no-]library-stripping ` flag
640
649
641
650
Default: Enabled
642
651
643
652
Unset the flag to disable library stripping for TARGETs and all its
644
653
dependencies.
645
654
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
+
646
658
### ` --pedantic ` flag
647
659
648
660
Pass 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`.
654
666
Pass the flag to enable profiling in libraries, executables, etc. for all
655
667
expressions, and generate a profiling report in tests or benchmarks.
656
668
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
+
657
672
### ` --[no-]split-objs ` flag
658
673
659
674
:octicons-beaker-24: Experimental
@@ -677,11 +692,17 @@ executables, etc. for all expressions, producing larger executables but allowing
677
692
the use of standard debuggers/profiling tools/other utilities that use debugging
678
693
symbols.
679
694
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
+
680
698
### ` --trace ` flag
681
699
682
700
Pass the flag to enable profiling in libraries, executables, etc. for all
683
701
expressions, and generate a backtrace on exception.
684
702
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
+
685
706
## Flags affecting other tools' behaviour
686
707
687
708
### ` --PROG-option ` options
0 commit comments