Commit 01789263 authored by Jose Fonseca's avatar Jose Fonseca

scons: Use --enable-stdcall-fixup only when building DLLs.

parent 0e4e7657
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment