summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-03-19 04:23:13 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-03-19 04:23:13 +0000
commite2807ac556d62348331a4e4d2d39a8dc44a68e30 (patch)
tree03c205d50eec07c384e58229695bbe66536255d4 /Makefile
parente5a35f117e5a4b798387e165a2e5dcaba4a1f8f1 (diff)
downloadnetsurf-e2807ac556d62348331a4e4d2d39a8dc44a68e30.tar.gz
netsurf-e2807ac556d62348331a4e4d2d39a8dc44a68e30.tar.bz2
Shift -mthrowback so it's only used when building on a RO host
svn path=/trunk/netsurf/; revision=3974
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3b3178f57..b01358f5a 100644
--- a/Makefile
+++ b/Makefile
@@ -120,13 +120,13 @@ endif
CFLAGS += -I. -O $(WARNFLAGS) -Driscos \
-std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE \
- -mpoke-function-name -mthrowback
+ -mpoke-function-name
CFLAGS += -I$(GCCSDK_INSTALL_ENV)/include \
-I$(GCCSDK_INSTALL_ENV)/include/libxml2 \
-I$(GCCSDK_INSTALL_ENV)/include/libmng
ifeq ($(HOST),riscos)
-CFLAGS += -I<OSLib$$Dir>
+CFLAGS += -I<OSLib$$Dir> -mthrowback
endif
ASFLAGS += -I. -I$(GCCSDK_INSTALL_ENV)/include
LDFLAGS += -L$(GCCSDK_INSTALL_ENV)/lib -lcares -lrufl -lpencil \