Put user supplied CFLAGS on top priority
This commit is contained in:
parent
34dad7f543
commit
2f7d0cf20f
@ -1072,10 +1072,10 @@ AS_IF([test "${enable_shared}" = "yes"], [AC_DEFINE([ENABLE_SHARED], [1], [Enabl
|
|||||||
|
|
||||||
if test "${enable_pedantic}" = "yes"; then
|
if test "${enable_pedantic}" = "yes"; then
|
||||||
enable_strict="yes";
|
enable_strict="yes";
|
||||||
CFLAGS="${CFLAGS} -pedantic"
|
CFLAGS="-pedantic ${CFLAGS}"
|
||||||
fi
|
fi
|
||||||
if test "${enable_strict}" = "yes"; then
|
if test "${enable_strict}" = "yes"; then
|
||||||
CFLAGS="${CFLAGS} -Wall -Wextra -Wno-unused-parameter -Werror"
|
CFLAGS="-Wall -Wextra -Wno-unused-parameter -Werror ${CFLAGS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
|
Loading…
Reference in New Issue
Block a user