Author: hpoussin
Date: Tue Jan 2 00:42:27 2007
New Revision: 25269
URL:
http://svn.reactos.org/svn/reactos?rev=25269&view=rev
Log:
Move -enable-stdcall-fixup definition to .rbuild file. Other platforms may not need it.
Modified:
trunk/reactos/ReactOS.rbuild
trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp
Modified: trunk/reactos/ReactOS.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ReactOS.rbuild?rev=25269&a…
==============================================================================
--- trunk/reactos/ReactOS.rbuild (original)
+++ trunk/reactos/ReactOS.rbuild Tue Jan 2 00:42:27 2007
@@ -33,6 +33,7 @@
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<compilerflag>-Wpointer-arith</compilerflag>
+ <linkerflag>-enable-stdcall-fixup</linkerflag>
<include>.</include>
<include>include</include>
Modified: trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp Tue Jan 2 00:42:27 2007
@@ -422,7 +422,7 @@
fprintf ( fMakefile, "PROJECT_RCFLAGS := $(PROJECT_CFLAGS)\n" );
fprintf ( fMakefile, "PROJECT_WIDLFLAGS := $(PROJECT_CFLAGS)\n" );
- fprintf ( fMakefile, "PROJECT_LFLAGS := -enable-stdcall-fixup %s\n",
+ fprintf ( fMakefile, "PROJECT_LFLAGS := %s\n",
GenerateProjectLFLAGS ().c_str () );
fprintf ( fMakefile, "PROJECT_CFLAGS += -Wall\n" );
fprintf ( fMakefile, "PROJECT_CFLAGS += $(PROJECT_GCCOPTIONS)\n" );