Index: dll/directx/ddraw/ddraw.rbuild
===================================================================
--- dll/directx/ddraw/ddraw.rbuild (revision 43615)
+++ dll/directx/ddraw/ddraw.rbuild (working copy)
@@ -70,6 +70,4 @@
DirectD3D3_Vtable.c
DirectD3D7_Vtable.c
-
- -fno-unit-at-a-time
Index: dll/directx/wine/ddraw/ddraw.rbuild
===================================================================
--- dll/directx/wine/ddraw/ddraw.rbuild (revision 43615)
+++ dll/directx/wine/ddraw/ddraw.rbuild (working copy)
@@ -42,7 +42,4 @@
viewport.c
wineheaders
-
-
- -fno-unit-at-a-time
Index: dll/win32/actxprxy/actxprxy.rbuild
===================================================================
--- dll/win32/actxprxy/actxprxy.rbuild (revision 43615)
+++ dll/win32/actxprxy/actxprxy.rbuild (working copy)
@@ -16,7 +16,6 @@
rpcrt4
pseh
usrmarshal.c
- -fno-unit-at-a-time
actxprxy_servprov.idl
Index: dll/win32/advapi32/advapi32.rbuild
===================================================================
--- dll/win32/advapi32/advapi32.rbuild (revision 43615)
+++ dll/win32/advapi32/advapi32.rbuild (working copy)
@@ -60,5 +60,4 @@
token.c
advapi32.rc
- -fno-unit-at-a-time
Index: dll/win32/crypt32/crypt32.rbuild
===================================================================
--- dll/win32/crypt32/crypt32.rbuild (revision 43615)
+++ dll/win32/crypt32/crypt32.rbuild (working copy)
@@ -37,6 +37,4 @@
message.c
crypt32.rc
version.rc
-
- -fno-unit-at-a-time
Index: dll/win32/gdi32/gdi32.rbuild
===================================================================
--- dll/win32/gdi32/gdi32.rbuild (revision 43615)
+++ dll/win32/gdi32/gdi32.rbuild (working copy)
@@ -9,11 +9,9 @@
pseh
dxguid
ntdll
-
dllmain.c
@@ -50,6 +48,4 @@
path.c
gdi32.rc
-
- -fno-unit-at-a-time
Index: dll/win32/kernel32/kernel32.rbuild
===================================================================
--- dll/win32/kernel32/kernel32.rbuild (revision 43615)
+++ dll/win32/kernel32/kernel32.rbuild (working copy)
@@ -13,12 +13,8 @@
0x0600
errcodes
-
-
- -fno-unit-at-a-time
-fno-exceptions
-fno-rtti
Index: dll/win32/ole32/ole32.rbuild
===================================================================
--- dll/win32/ole32/ole32.rbuild (revision 43615)
+++ dll/win32/ole32/ole32.rbuild (working copy)
@@ -64,8 +64,6 @@
dcom.idl
irot.idl
.
-
- -fno-unit-at-a-time
irot.idl
Index: dll/win32/psapi/psapi.rbuild
===================================================================
--- dll/win32/psapi/psapi.rbuild (revision 43615)
+++ dll/win32/psapi/psapi.rbuild (working copy)
@@ -6,12 +6,8 @@
pseh
ntdll
kernel32
-
malloc.c
psapi.c
psapi.rc
-
- -fno-unit-at-a-time
Index: dll/win32/qmgrprxy/qmgrprxy.rbuild
===================================================================
--- dll/win32/qmgrprxy/qmgrprxy.rbuild (revision 43615)
+++ dll/win32/qmgrprxy/qmgrprxy.rbuild (working copy)
@@ -16,7 +16,6 @@
rpcrt4
pseh
version.rc
- -fno-unit-at-a-time
qmgrprxy.idl
Index: dll/win32/rpcrt4/rpcrt4.rbuild
===================================================================
--- dll/win32/rpcrt4/rpcrt4.rbuild (revision 43615)
+++ dll/win32/rpcrt4/rpcrt4.rbuild (working copy)
@@ -40,8 +40,6 @@
rpcrt4.rc
epm.idl
.
-
- -fno-unit-at-a-time
epm.idl
Index: dll/win32/setupapi/setupapi.rbuild
===================================================================
--- dll/win32/setupapi/setupapi.rbuild (revision 43615)
+++ dll/win32/setupapi/setupapi.rbuild (working copy)
@@ -36,6 +36,4 @@
stubs.c
rpc.c
setupapi.rc
-
- -fno-unit-at-a-time
Index: dll/win32/syssetup/syssetup.rbuild
===================================================================
--- dll/win32/syssetup/syssetup.rbuild (revision 43615)
+++ dll/win32/syssetup/syssetup.rbuild (working copy)
@@ -21,6 +21,4 @@
logfile.c
wizard.c
syssetup.rc
-
- -fno-unit-at-a-time
Index: dll/win32/user32/user32.rbuild
===================================================================
--- dll/win32/user32/user32.rbuild (revision 43615)
+++ dll/win32/user32/user32.rbuild (working copy)
@@ -12,11 +12,9 @@
pseh
ntdll
-fms-extensions
-
button.c
combo.c
@@ -77,6 +75,4 @@
winpos.c
user32.rc
-
- -fno-unit-at-a-time
Index: dll/win32/wintrust/wintrust.rbuild
===================================================================
--- dll/win32/wintrust/wintrust.rbuild (revision 43615)
+++ dll/win32/wintrust/wintrust.rbuild (working copy)
@@ -19,6 +19,4 @@
asn.c
softpub.c
version.rc
-
- -fno-unit-at-a-time
Index: dll/win32/wlanapi/wlanapi.rbuild
===================================================================
--- dll/win32/wlanapi/wlanapi.rbuild (revision 43615)
+++ dll/win32/wlanapi/wlanapi.rbuild (working copy)
@@ -9,6 +9,4 @@
pseh
ntdll
main.c
-
- -fno-unit-at-a-time
Index: drivers/input/kbdclass/kbdclass.rbuild
===================================================================
--- drivers/input/kbdclass/kbdclass.rbuild (revision 43615)
+++ drivers/input/kbdclass/kbdclass.rbuild (working copy)
@@ -9,6 +9,4 @@
misc.c
setup.c
kbdclass.rc
-
- -fno-unit-at-a-time
Index: drivers/input/mouclass/mouclass.rbuild
===================================================================
--- drivers/input/mouclass/mouclass.rbuild (revision 43615)
+++ drivers/input/mouclass/mouclass.rbuild (working copy)
@@ -8,6 +8,4 @@
misc.c
mouclass.c
mouclass.rc
-
- -fno-unit-at-a-time
Index: drivers/network/afd/afd.rbuild
===================================================================
--- drivers/network/afd/afd.rbuild (revision 43615)
+++ drivers/network/afd/afd.rbuild (working copy)
@@ -8,9 +8,7 @@
ntoskrnl
hal
-
bind.c
@@ -27,6 +25,4 @@
write.c
afd.rc
-
- -fno-unit-at-a-time
Index: drivers/network/tcpip/tcpip.rbuild
===================================================================
--- drivers/network/tcpip/tcpip.rbuild (revision 43615)
+++ drivers/network/tcpip/tcpip.rbuild (working copy)
@@ -13,11 +13,9 @@
chew
ntoskrnl
hal
-
lan.c
@@ -39,6 +37,4 @@
wait.c
tcpip.rc
-
- -fno-unit-at-a-time
Index: lib/rtl/rtl.rbuild
===================================================================
--- lib/rtl/rtl.rbuild (revision 43615)
+++ lib/rtl/rtl.rbuild (working copy)
@@ -95,9 +95,5 @@
version.c
wait.c
workitem.c
-
-
- -fno-unit-at-a-time
Index: ntoskrnl/ntoskrnl-generic.rbuild
===================================================================
--- ntoskrnl/ntoskrnl-generic.rbuild (revision 43615)
+++ ntoskrnl/ntoskrnl-generic.rbuild (working copy)
@@ -30,11 +30,9 @@
bootvid
wdmguid
bugcodes
-
@@ -500,7 +498,4 @@
ntoskrnl.rc
ntoskrnl_$(ARCH).lnk
-
-
- -fno-unit-at-a-time
Index: ReactOS-generic.rbuild
===================================================================
--- ReactOS-generic.rbuild (revision 43615)
+++ ReactOS-generic.rbuild (working copy)
@@ -123,11 +123,6 @@
-Wno-strict-aliasing
-Wpointer-arith
-Wno-multichar
-
Index: subsystems/win32/win32k/objects/gdiobj.c
===================================================================
--- subsystems/win32/win32k/objects/gdiobj.c (revision 43615)
+++ subsystems/win32/win32k/objects/gdiobj.c (working copy)
@@ -30,7 +30,7 @@
#include "gdidbg.c"
-/* static */ /* FIXME: -fno-unit-at-a-time breaks this */
+static
BOOL INTERNAL_CALL GDI_CleanupDummy(PVOID ObjectBody);
/** GLOBALS *******************************************************************/
@@ -87,7 +87,7 @@
/*
* Dummy GDI Cleanup Callback
*/
-/* static */ /* FIXME: -fno-unit-at-a-time breaks this */
+static
BOOL INTERNAL_CALL
GDI_CleanupDummy(PVOID ObjectBody)
{
Index: subsystems/win32/win32k/win32k.rbuild
===================================================================
--- subsystems/win32/win32k/win32k.rbuild (revision 43615)
+++ subsystems/win32/win32k/win32k.rbuild (working copy)
@@ -13,9 +13,7 @@
/wd4276
-
dib8gen.c
@@ -198,9 +196,6 @@
stubs.c
umpdstubs.c
-
-
- -fno-unit-at-a-time
Index: tools/rbuild/backend/mingw/compilers/gcc.mak
===================================================================
--- tools/rbuild/backend/mingw/compilers/gcc.mak (revision 43615)
+++ tools/rbuild/backend/mingw/compilers/gcc.mak (working copy)
@@ -9,7 +9,7 @@
# FIXME: disabled until RosBE stops sucking
# BUILTIN_CPPFLAGS+= -nostdinc
-BUILTIN_CFLAGS+= -fno-optimize-sibling-calls
+BUILTIN_CFLAGS+= -fno-optimize-sibling-calls -fno-set-stack-executable
BUILTIN_CXXFLAGS+= -fno-optimize-sibling-calls
#(module, source, dependencies, cflags, output)
Index: tools/rbuild/backend/mingw/mingw.cpp
===================================================================
--- tools/rbuild/backend/mingw/mingw.cpp (revision 43615)
+++ tools/rbuild/backend/mingw/mingw.cpp (working copy)
@@ -490,7 +490,7 @@
// TODO: linker flags
fprintf ( fMakefile, "PROJECT_LFLAGS := '$(shell ${TARGET_CC} -print-libgcc-file-name)' %s\n", GenerateProjectLFLAGS ().c_str () );
- fprintf ( fMakefile, "PROJECT_LPPFLAGS := '$(shell ${TARGET_CPP} -print-file-name=libstdc++.a)' '$(shell ${TARGET_CPP} -print-file-name=libgcc.a)' '$(shell ${TARGET_CPP} -print-file-name=libmingw32.a)' '$(shell ${TARGET_CPP} -print-file-name=libmingwex.a)' '$(shell ${TARGET_CPP} -print-file-name=libcoldname.a)'\n" );
+ fprintf ( fMakefile, "PROJECT_LPPFLAGS := '$(shell ${TARGET_CPP} -print-file-name=libstdc++.a)' '$(shell ${TARGET_CPP} -print-file-name=libgcc.a)' '$(shell ${TARGET_CPP} -print-file-name=libmingw32.a)' '$(shell ${TARGET_CPP} -print-file-name=libmingwex.a)' '$(shell ${TARGET_CPP} -print-file-name=ofmt_stub.a)' '$(shell ${TARGET_CPP} -print-file-name=libcoldname.a)'\n" );
/* hack to get libgcc_eh.a, should check mingw version or something */
if (Environment::GetArch() == "amd64")
{
Index: tools/rbuild/backend/mingw/modulehandler.cpp
===================================================================
--- tools/rbuild/backend/mingw/modulehandler.cpp (revision 43615)
+++ tools/rbuild/backend/mingw/modulehandler.cpp (working copy)
@@ -2466,7 +2466,7 @@
string dependencies = libsMacro + " " + objectsMacro;
- string linkerParameters = ssprintf ( "-subsystem=native -entry=%s -image-base=%s -file-alignment=0x1000 -section-alignment=0x1000 -shared",
+ string linkerParameters = ssprintf ( "-subsystem=native -entry=%s -image-base=%s -file-alignment=0x1000 -section-alignment=0x1000 -shared -exclude-all-symbols",
module.GetEntryPoint(!(Environment::GetArch() == "arm")).c_str (),
module.baseaddress.c_str () );
GenerateLinkerCommand ( dependencies,
Index: tools/rbuild/backend/mingw/rules.mak
===================================================================
--- tools/rbuild/backend/mingw/rules.mak (revision 43615)
+++ tools/rbuild/backend/mingw/rules.mak (working copy)
@@ -248,7 +248,7 @@
$$(ECHO_WIDL)
$$(Q)$$(WIDL_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -h -H ${call RBUILD_intermediate_path_noext,$(2)}_c.h -c -C ${call RBUILD_intermediate_path_noext,$(2)}_c.c $(2)
-${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_c.c,,-fno-unit-at-a-time,${call RBUILD_intermediate_path_noext,$(2)}_c.o}
+${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_c.c,,,${call RBUILD_intermediate_path_noext,$(2)}_c.o}
endef
@@ -261,7 +261,7 @@
$$(ECHO_WIDL)
$$(Q)$$(WIDL_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -h -H ${call RBUILD_intermediate_path_noext,$(2)}_s.h -s -S ${call RBUILD_intermediate_path_noext,$(2)}_s.c $(2)
-${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_s.c,,-fno-unit-at-a-time,${call RBUILD_intermediate_path_noext,$(2)}_s.o}
+${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_s.c,,,${call RBUILD_intermediate_path_noext,$(2)}_s.o}
endef
@@ -274,7 +274,7 @@
$$(ECHO_WIDL)
$$(Q)$$(WIDL_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -h -H ${call RBUILD_intermediate_path_noext,$(2)}_p.h -p -P ${call RBUILD_intermediate_path_noext,$(2)}_p.c $(2)
-${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_p.c,,-fno-unit-at-a-time,${call RBUILD_intermediate_path_noext,$(2)}_p.o}
+${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_p.c,,,${call RBUILD_intermediate_path_noext,$(2)}_p.o}
endef
@@ -287,7 +287,7 @@
$$(ECHO_WIDL)
$$(Q)$$(WIDL_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -u -U $$@ $$<
-${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_i.c,,-fno-unit-at-a-time,${call RBUILD_intermediate_path_noext,$(2)}_i.o}
+${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_i.c,,,${call RBUILD_intermediate_path_noext,$(2)}_i.o}
endef