Reinstate WARNFLAGS

Make RISC OS build CFLAGS specify -mpoke-function-name

svn path=/trunk/netsurf/; revision=3853
This commit is contained in:
John Mark Bell 2008-02-09 22:37:51 +00:00
parent 2c2ac87e37
commit 55445a0daf
1 changed files with 7 additions and 5 deletions

View File

@ -54,10 +54,10 @@ $(DEPROOT)/created: $(OBJROOT)/created
$(Q)$(MKDIR) $(DEPROOT) $(Q)$(MKDIR) $(DEPROOT)
$(Q)$(TOUCH) $(DEPROOT)/created $(Q)$(TOUCH) $(DEPROOT)/created
#WARNFLAGS = -W -Wall -Wundef -Wpointer-arith -Wcast-qual \ WARNFLAGS = -W -Wall -Wundef -Wpointer-arith -Wcast-qual \
# -Wcast-align -Wwrite-strings -Wstrict-prototypes \ -Wcast-align -Wwrite-strings -Wstrict-prototypes \
# -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls \ -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls \
# -Wnested-externs -Winline -Wno-unused-parameter -Wuninitialized -Wnested-externs -Winline -Wno-unused-parameter -Wuninitialized
STARTGROUP := -Wl,--start-group STARTGROUP := -Wl,--start-group
ENDGROUP := -Wl,--end-group ENDGROUP := -Wl,--end-group
@ -104,7 +104,9 @@ endif
ifeq ($(TARGET),riscos) ifeq ($(TARGET),riscos)
GCCSDK_INSTALL_ENV := /home/riscos/env GCCSDK_INSTALL_ENV := /home/riscos/env
CFLAGS += -I. -O $(WARNFLAGS) -Driscos -std=c99 -D_BSD_SOURCE CFLAGS += -I. -O $(WARNFLAGS) -Driscos \
-std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE \
-mpoke-function-name
CFLAGS += -I$(GCCSDK_INSTALL_ENV)/include \ CFLAGS += -I$(GCCSDK_INSTALL_ENV)/include \
-I$(GCCSDK_INSTALL_ENV)/include/libxml2 \ -I$(GCCSDK_INSTALL_ENV)/include/libxml2 \