mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
- Change -fno-strict-aliasing to -Wno-strict-aliasing for optimized builds.
svn path=/trunk/; revision=10387
This commit is contained in:
parent
f9ee38ed2b
commit
08f1890738
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.135 2004/08/02 15:04:24 navaraf Exp $
|
||||
# $Id: Makefile,v 1.136 2004/08/04 02:27:07 navaraf Exp $
|
||||
#
|
||||
# ReactOS Operating System
|
||||
#
|
||||
|
@ -26,7 +26,7 @@ STRIP_FLAGS := -Wl,-s
|
|||
endif
|
||||
|
||||
ifeq ($(OPTIMIZED), 1)
|
||||
CFLAGS_OPT := -O2 -fno-strict-aliasing
|
||||
CFLAGS_OPT := -O2 -Wno-strict-aliasing
|
||||
else
|
||||
CFLAGS_OPT :=
|
||||
endif
|
||||
|
@ -46,10 +46,10 @@ endif
|
|||
|
||||
ifeq ($(strip $(SDK_PATH_INC)),)
|
||||
ASFLAGS += -I./include
|
||||
CFLAGS += -I./include -D__NTOSKRNL__ $(CFLAGS_DBG) $(CFLAGS_OPT) -Wall -Werror
|
||||
CFLAGS += -I./include -D__NTOSKRNL__ $(CFLAGS_DBG) -Wall -Werror $(CFLAGS_OPT)
|
||||
else
|
||||
ASFLAGS += -I./include -I$(SDK_PATH_INC)
|
||||
CFLAGS += -I./include -I$(SDK_PATH_INC) -D__NTOSKRNL__ $(CFLAGS_DBG) $(CFLAGS_OPT) -Wall -Werror
|
||||
CFLAGS += -I./include -I$(SDK_PATH_INC) -D__NTOSKRNL__ $(CFLAGS_DBG) -Wall -Werror $(CFLAGS_OPT)
|
||||
endif
|
||||
|
||||
# ASFLAGS += -D__USE_W32API -D_NTOSKRNL_
|
||||
|
|
Loading…
Reference in a new issue