Revision 60397ca4

/dev/null
1
Author: Apollon Oikonomopoulos <apoikos@gmail.com>
2
Description: Pass linker flags to GHC
3
 Enable hardening (relro) and as-needed
4

  
5
Forwarded: no
6
Last-Update: 2013-11-01
7
--- a/Makefile.in
8
+++ b/Makefile.in
9
@@ -801,6 +801,7 @@
10
 	-O -Wall -Werror -isrc \
11
 	-fwarn-monomorphism-restriction \
12
 	-fwarn-tabs \
13
+        -optl -Wl,-z,relro -optl -Wl,--as-needed \
14
 	$(GHC_BYVERSION_FLAGS)
15
 
16
 
b/debian/patches/series
1 1
fix-startup-with-old-config.patch
2 2
cfgupgrade12-remove-old-ssconf.patch
3
pass-ghc-linker-flags.patch

Also available in: Unified diff