summaryrefslogtreecommitdiff
blob: 5f11fd270ef1ef83884ee97dc6c679053df4a1c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
respect cflags

--- torcs-1.3.6/configure.in
+++ torcs-1.3.6/configure.in
@@ -50,8 +50,7 @@
 ADDCFLAGS="-Wall -fPIC -fno-strict-aliasing"
 AC_ARG_ENABLE(debug,
 	[  --enable-debug          set the debug mode],
-	ADDCFLAGS="$ADDCFLAGS -g -DDEBUG -DDEBUG_OUT",
-	ADDCFLAGS="$ADDCFLAGS -O2")
+	ADDCFLAGS="$ADDCFLAGS -g -DDEBUG -DDEBUG_OUT")
 
 AC_ARG_ENABLE(xrandr,
 	[  --disable-xrandr	   reset the XRANDR mode],