diff --git a/reactos/tools/helper.mk b/reactos/tools/helper.mk index 74d1c2ea625..c879636604a 100644 --- a/reactos/tools/helper.mk +++ b/reactos/tools/helper.mk @@ -672,7 +672,11 @@ endif ifneq ($(DBG),1) MK_CFLAGS += -Os -Wno-strict-aliasing -ftracer -momit-leaf-frame-pointer MK_CFLAGS += -mpreferred-stack-boundary=2 - MK_CFLAGS += -funit-at-a-time -fweb + + CC_VERSION=$(word 1,$(shell gcc -dumpversion)) + ifeq ($(CC_VERSION),3.4.3) + MK_CFLAGS += -funit-at-a-time -fweb + endif # # Remove Symbols if no debugging is used at all