← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2580: Add gcc linker flags for compiling DC++ with address space layout randomization and data executio...

 

------------------------------------------------------------
revno: 2580
committer: iceman50 <bdcdevel@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Wed 2011-07-20 04:51:18 -0500
message:
  Add gcc linker flags for compiling DC++ with address space layout randomization and data execution prevention
modified:
  SConstruct


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'SConstruct'
--- SConstruct	2011-06-24 16:08:35 +0000
+++ SConstruct	2011-07-20 09:51:18 +0000
@@ -43,7 +43,7 @@
 }
 
 gcc_link_flags = {
-	'common' : ['-g', '-static-libgcc', '-static-libstdc++', '-Wl,--no-undefined', '-time', '-mthreads'],
+	'common' : ['-g', '-static-libgcc', '-static-libstdc++', '-Wl,--no-undefined,--nxcompat,--dynamicbase', '-time', '-mthreads'],
 	'debug' : [],
 	'release' : ['-mwindows']
 }