Skip to content

Commit 4ec18ca

Browse files
committed
Add a comment on staic compilation
1 parent c72768c commit 4ec18ca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

farm-hs.cabal

+3-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ executable farm-hs
5353
ghc-options:
5454
-O2
5555
-threaded
56-
-- This line will compile static executable:
57-
-- -static -optc-static -optl-static
56+
-- This line will compile a static executable:
57+
-- -static -optc-static -optl-static -fPIC
58+
-- ld-options: -static
5859

5960
-- Modules included in this executable, other than Main.
6061
other-modules: Options Concurrency Logging

0 commit comments

Comments
 (0)