summaryrefslogtreecommitdiff
blob: 8dbecd8920e750cd4da0ddd3c891318c481e0f32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- Makefile.inc.orig	2007-12-15 18:44:00.000000000 +0100
+++ Makefile.inc	2007-12-15 19:29:01.000000000 +0100
@@ -44,9 +44,9 @@
 
 # default CFLAGS, LDFLAGS
 #
-CFLAGS =
-LDFLAGS =
-DYFLAGS =
+CFLAGS ?=
+LDFLAGS ?=
+DYFLAGS ?=
 
 # Adding the TS_CLASS flag enables not being scheduled RR
 #CFLAGS += -DTS_CLASS
@@ -54,7 +54,7 @@
 # build CFLAGS, LDFLAGS
 #
 ifeq (${OPENAIS_BUILD}, RELEASE) 
-	CFLAGS += -O3 -Wall
+	CFLAGS += -Wall
 # -Wstrict-aliasing=2 TODO sameday fix all of these
 ifndef OPENAIS_PROFILE
 	CFLAGS += -fomit-frame-pointer