mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 14:09:10 +00:00
[RBUILD]
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:
parent
c20a4b4bb5
commit
13aa4a3d04
|
@ -28,6 +28,8 @@
|
||||||
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
|
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
|
||||||
<compilerflag compiler="midl">-m32 --win32</compilerflag>
|
<compilerflag compiler="midl">-m32 --win32</compilerflag>
|
||||||
<compilerflag compiler="cc,cxx">-gstabs+</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>
|
<compilerflag compiler="as">-gstabs+</compilerflag>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,6 @@ CPPFLAG_UNICODE:=-DUNICODE -D_UNICODE
|
||||||
|
|
||||||
# FIXME: disabled until RosBE stops sucking
|
# FIXME: disabled until RosBE stops sucking
|
||||||
# BUILTIN_CPPFLAGS+= -nostdinc
|
# 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)
|
#(module, source, dependencies, cflags, output)
|
||||||
define RBUILD_DEPENDS
|
define RBUILD_DEPENDS
|
||||||
|
|
Loading…
Reference in a new issue