Add some suggested optimisation switches

This commit is contained in:
Chris Young 2015-02-02 00:01:43 +00:00
parent 0aa3061929
commit 42cda09958
2 changed files with 3 additions and 3 deletions

View File

@ -37,5 +37,5 @@ NETSURF_USE_NSSVG := YES
NETSURF_USE_JS := NO
# Optimisation levels
CFLAGS += -gstabs
CFLAGS += -fomit-frame-pointer -gstabs

View File

@ -5,9 +5,9 @@
CFLAGS += -std=c99 -Dnsamiga
ifneq ($(SUBTARGET),os3)
CFLAGS += -O2 -U__STRICT_ANSI__ -D__USE_INLINE__ -D__USE_BASETYPE__
CFLAGS += -O2 -finline-functions -U__STRICT_ANSI__ -D__USE_INLINE__ -D__USE_BASETYPE__
else
CFLAGS += -O0 -DPATH_MAX=1024
CFLAGS += -m68020 -O0 -DPATH_MAX=1024
endif
NETSURF_FEATURE_ROSPRITE_CFLAGS := -DWITH_NSSPRITE