mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user