summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-01-24 14:33:54 +0000
committerJosé Fonseca <[email protected]>2009-01-24 14:33:54 +0000
commit017892636a29a40966085d360df8f35865e226d2 (patch)
tree3135894c8acbabf285f0ce3956ff8ab83fadfb28 /scons
parent0e4e76572e3a8808b06916b5359fc5cc71fd04a4 (diff)
scons: Use --enable-stdcall-fixup only when building DLLs.
Diffstat (limited to 'scons')
-rw-r--r--scons/crossmingw.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scons/crossmingw.py b/scons/crossmingw.py
index b1141c97ce8..53b4d2e47d4 100644
--- a/scons/crossmingw.py
+++ b/scons/crossmingw.py
@@ -174,7 +174,8 @@ def generate(env):
env['LIBSUFFIXES'] = [ '.a', '.lib' ]
env.AppendUnique(LIBS = ['iberty'])
- env.AppendUnique(LINKFLAGS = ['-Wl,--enable-stdcall-fixup'])
+ env.AppendUnique(SHLINKFLAGS = ['-Wl,--enable-stdcall-fixup'])
+ #env.AppendUnique(SHLINKFLAGS = ['-Wl,--kill-at'])
def exists(env):
return find(env)