diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-02-09 22:37:51 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-02-09 22:37:51 +0000 |
commit | 55445a0daf6ee217f23751187ee8bead3f0b76cf (patch) | |
tree | 85bfe828ed2880a8912d1b57f90ae24ac47cae08 | |
parent | 2c2ac87e37c2098421b83f9e684e29c7e01b24f4 (diff) | |
download | netsurf-55445a0daf6ee217f23751187ee8bead3f0b76cf.tar.gz netsurf-55445a0daf6ee217f23751187ee8bead3f0b76cf.tar.bz2 |
Reinstate WARNFLAGS
Make RISC OS build CFLAGS specify -mpoke-function-name
svn path=/trunk/netsurf/; revision=3853
-rw-r--r-- | Makefile.unix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile.unix b/Makefile.unix index e6796dbe2..39c287943 100644 --- a/Makefile.unix +++ b/Makefile.unix @@ -54,10 +54,10 @@ $(DEPROOT)/created: $(OBJROOT)/created $(Q)$(MKDIR) $(DEPROOT) $(Q)$(TOUCH) $(DEPROOT)/created -#WARNFLAGS = -W -Wall -Wundef -Wpointer-arith -Wcast-qual \ -# -Wcast-align -Wwrite-strings -Wstrict-prototypes \ -# -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls \ -# -Wnested-externs -Winline -Wno-unused-parameter -Wuninitialized +WARNFLAGS = -W -Wall -Wundef -Wpointer-arith -Wcast-qual \ + -Wcast-align -Wwrite-strings -Wstrict-prototypes \ + -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls \ + -Wnested-externs -Winline -Wno-unused-parameter -Wuninitialized STARTGROUP := -Wl,--start-group ENDGROUP := -Wl,--end-group @@ -104,7 +104,9 @@ endif ifeq ($(TARGET),riscos) 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 \ -I$(GCCSDK_INSTALL_ENV)/include/libxml2 \ |