summaryrefslogtreecommitdiff
path: root/Makefile.config
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2008-08-13 15:31:41 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2008-08-13 15:31:41 +0000
commitb99cb3d1e0546a3cb5fa032e48eabe0daabf6ca5 (patch)
tree737ee84fcd4c260190746d1ff79155a8e90c8bb5 /Makefile.config
parenta5c54e54a4e42a1eebb4b3c50a3f2ffa52b1546c (diff)
downloadnetsurf-b99cb3d1e0546a3cb5fa032e48eabe0daabf6ca5.tar.gz
netsurf-b99cb3d1e0546a3cb5fa032e48eabe0daabf6ca5.tar.bz2
Support configuring the CFLAGS, particularly the optimisation flags, in Makefile.config
svn path=/trunk/netsurf/; revision=5094
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.config b/Makefile.config
index ba4659ba6..9aecfa283 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -48,6 +48,9 @@ NETSURF_HOMEPAGE := "http://www.netsurf-browser.org/welcome/"
# Valid options: YES, NO
NETSURF_USE_LIBICONV_PLUG := YES
+# Initial CFLAGS. Typically optimisation level etc.
+CFLAGS := -O2 -Wuninitialized
+
# ----------------------------------------------------------------------------
# RISC OS-specific options
# ----------------------------------------------------------------------------
@@ -68,7 +71,7 @@ ifeq ($(TARGET),riscos)
# Enable NetSurf's RISC OS Sprite support via Tinct
# Valid options: YES, NO
NETSURF_USE_SPRITE := YES
-
+
# Enable NetSurf's ArtWorks support via AWRender
# Valid options: YES, NO
NETSURF_USE_ARTWORKS := YES
@@ -87,7 +90,7 @@ ifeq ($(TARGET),gtk)
# Where to search for NetSurf's resources after looking in ~/.netsurf and
# $NETSURFRES. It must have a trailing /
NETSURF_GTK_RESOURCES := /usr/local/share/netsurf/
-
+
# Where to install the netsurf binary
NETSURF_GTK_BIN := /usr/local/bin/