summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-01-24 14:33:54 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-01-24 14:33:54 +0000
commit017892636a29a40966085d360df8f35865e226d2 (patch)
tree3135894c8acbabf285f0ce3956ff8ab83fadfb28
parent0e4e76572e3a8808b06916b5359fc5cc71fd04a4 (diff)
scons: Use --enable-stdcall-fixup only when building DLLs.
-rw-r--r--scons/crossmingw.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scons/crossmingw.py b/scons/crossmingw.py
index b1141c97ce..53b4d2e47d 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)