Added GLK12232-25SM support with glk driver.
Fixed --enable-debug flag to turn off optimizer (-O6)
This commit is contained in:
+3
-3
@@ -17,7 +17,7 @@ AC_MSG_CHECKING(whether to enable debugging)
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug show debug information],
|
||||
AC_DEFINE(DEBUG)
|
||||
debug=$withval,
|
||||
debug="yes",
|
||||
debug="no"
|
||||
)
|
||||
AC_MSG_RESULT($debug)
|
||||
@@ -25,9 +25,9 @@ AC_MSG_RESULT($debug)
|
||||
if test $debug = "yes"; then
|
||||
CFLAGS="-g"
|
||||
else
|
||||
CFLAGS="-Wno-unused"
|
||||
CFLAGS="-Wno-unused -O6"
|
||||
fi
|
||||
CFLAGS="-Wall -Wp,-lang-c-c++-comments -O6 $CFLAGS"
|
||||
CFLAGS="-Wall -Wp,-lang-c-c++-comments $CFLAGS"
|
||||
export CFLAGS
|
||||
|
||||
dnl Checks for programs.
|
||||
|
||||
Reference in New Issue
Block a user