instead of defining -fno-set-stack-executable and -fno-optimize-sibling-calls in gcc.mak file, do it in ReactOS-i386.rbuild

svn path=/trunk/; revision=46449
This commit is contained in:
Timo Kreuzer 2010-03-25 19:55:28 +00:00
parent c20a4b4bb5
commit 13aa4a3d04
2 changed files with 2 additions and 8 deletions

View file

@ -28,6 +28,8 @@
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
<compilerflag compiler="midl">-m32 --win32</compilerflag>
<compilerflag compiler="cc,cxx">-gstabs+</compilerflag>
<compilerflag compiler="cc,cxx">-fno-set-stack-executable</compilerflag>
<compilerflag compiler="cc,cxx">-fno-optimize-sibling-calls</compilerflag>
<compilerflag compiler="as">-gstabs+</compilerflag>
</group>

View file

@ -9,14 +9,6 @@ CPPFLAG_UNICODE:=-DUNICODE -D_UNICODE
# FIXME: disabled until RosBE stops sucking
# BUILTIN_CPPFLAGS+= -nostdinc
BUILTIN_CFLAGS+= -fno-optimize-sibling-calls
BUILTIN_CXXFLAGS+= -fno-optimize-sibling-calls
# Add -fno-set-stack-executable required for x86/MinGW
ifneq (,$(filter $(ARCH),amd64 i386))
BUILTIN_CFLAGS+= -fno-set-stack-executable
BUILTIN_CXXFLAGS+= -fno-set-stack-executable
endif
#(module, source, dependencies, cflags, output)
define RBUILD_DEPENDS