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,
|
AC_ARG_ENABLE(debug,
|
||||||
[ --enable-debug show debug information],
|
[ --enable-debug show debug information],
|
||||||
AC_DEFINE(DEBUG)
|
AC_DEFINE(DEBUG)
|
||||||
debug=$withval,
|
debug="yes",
|
||||||
debug="no"
|
debug="no"
|
||||||
)
|
)
|
||||||
AC_MSG_RESULT($debug)
|
AC_MSG_RESULT($debug)
|
||||||
@@ -25,9 +25,9 @@ AC_MSG_RESULT($debug)
|
|||||||
if test $debug = "yes"; then
|
if test $debug = "yes"; then
|
||||||
CFLAGS="-g"
|
CFLAGS="-g"
|
||||||
else
|
else
|
||||||
CFLAGS="-Wno-unused"
|
CFLAGS="-Wno-unused -O6"
|
||||||
fi
|
fi
|
||||||
CFLAGS="-Wall -Wp,-lang-c-c++-comments -O6 $CFLAGS"
|
CFLAGS="-Wall -Wp,-lang-c-c++-comments $CFLAGS"
|
||||||
export CFLAGS
|
export CFLAGS
|
||||||
|
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
|
|||||||
Reference in New Issue
Block a user