From: José Fonseca Date: Sat, 24 Jan 2009 14:33:54 +0000 (+0000) Subject: scons: Use --enable-stdcall-fixup only when building DLLs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=017892636a29a40966085d360df8f35865e226d2;p=mesa.git scons: Use --enable-stdcall-fixup only when building DLLs. --- 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)