1 From b4b9bda38cc0d909228445affc0c0122df16d3de Mon Sep 17 00:00:00 2001
2 From: Nick Bowler <nbowler@draconx.ca>
3 Date: Mon, 27 Apr 2015 23:37:59 -0400
4 Subject: [PATCH] Respect CFLAGS.
7 configure | 12 +-----------
8 1 file changed, 1 insertion(+), 11 deletions(-)
10 diff --git a/configure b/configure
11 index 95779ab326a2..0358c0e24adc 100755
14 @@ -1206,17 +1206,7 @@ cat >> Makefile <<_EOF
16 .SUFFIXES: $OBJ .cpp .h .c
19 -OSCFLAGS = -O0 -g -pg -ggdb -pipe -Wpointer-arith $WERROR $STRICT \$(OSCFLAGSEXTRA)
20 -export LDFLAGS := -pg \$(LDFLAGS)
23 - OSCFLAGS = -O3 -pg -pipe -Wpointer-arith $WERROR $STRICT \$(OSCFLAGSEXTRA)
24 - export LDFLAGS := -pg \$(LDFLAGS)
26 - OSCFLAGS = -O3 -fomit-frame-pointer -pipe -Wpointer-arith $WERROR $STRICT \$(OSCFLAGSEXTRA)
29 +OSCFLAGS = \$(CFLAGS) -Wpointer-arith $WERROR $STRICT \$(OSCFLAGSEXTRA)
31 TARGET ?= onscripter-en