Fix EXTRA_CFLAGS to not affect configuration.
This commit is contained in:
parent
1dcd0aa07f
commit
af0e28fd94
@ -24,7 +24,8 @@ abs_objroot := @abs_objroot@
|
|||||||
|
|
||||||
# Build parameters.
|
# Build parameters.
|
||||||
CPPFLAGS := @CPPFLAGS@ -I$(srcroot)include -I$(objroot)include
|
CPPFLAGS := @CPPFLAGS@ -I$(srcroot)include -I$(objroot)include
|
||||||
CFLAGS := @CFLAGS@
|
EXTRA_CFLAGS := @EXTRA_CFLAGS@
|
||||||
|
CFLAGS := @CFLAGS@ $(EXTRA_CFLAGS)
|
||||||
LDFLAGS := @LDFLAGS@
|
LDFLAGS := @LDFLAGS@
|
||||||
EXTRA_LDFLAGS := @EXTRA_LDFLAGS@
|
EXTRA_LDFLAGS := @EXTRA_LDFLAGS@
|
||||||
LIBS := @LIBS@
|
LIBS := @LIBS@
|
||||||
|
@ -203,10 +203,7 @@ if test "x$CFLAGS" = "x" ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
dnl Append EXTRA_CFLAGS to CFLAGS, if defined.
|
AC_SUBST([EXTRA_CFLAGS])
|
||||||
if test "x$EXTRA_CFLAGS" != "x" ; then
|
|
||||||
JE_CFLAGS_APPEND([$EXTRA_CFLAGS])
|
|
||||||
fi
|
|
||||||
AC_PROG_CPP
|
AC_PROG_CPP
|
||||||
|
|
||||||
AC_C_BIGENDIAN([ac_cv_big_endian=1], [ac_cv_big_endian=0])
|
AC_C_BIGENDIAN([ac_cv_big_endian=1], [ac_cv_big_endian=0])
|
||||||
@ -1853,6 +1850,7 @@ AC_MSG_RESULT([])
|
|||||||
AC_MSG_RESULT([CONFIG : ${CONFIG}])
|
AC_MSG_RESULT([CONFIG : ${CONFIG}])
|
||||||
AC_MSG_RESULT([CC : ${CC}])
|
AC_MSG_RESULT([CC : ${CC}])
|
||||||
AC_MSG_RESULT([CFLAGS : ${CFLAGS}])
|
AC_MSG_RESULT([CFLAGS : ${CFLAGS}])
|
||||||
|
AC_MSG_RESULT([EXTRA_CFLAGS : ${EXTRA_CFLAGS}])
|
||||||
AC_MSG_RESULT([CPPFLAGS : ${CPPFLAGS}])
|
AC_MSG_RESULT([CPPFLAGS : ${CPPFLAGS}])
|
||||||
AC_MSG_RESULT([LDFLAGS : ${LDFLAGS}])
|
AC_MSG_RESULT([LDFLAGS : ${LDFLAGS}])
|
||||||
AC_MSG_RESULT([EXTRA_LDFLAGS : ${EXTRA_LDFLAGS}])
|
AC_MSG_RESULT([EXTRA_LDFLAGS : ${EXTRA_LDFLAGS}])
|
||||||
|
Loading…
Reference in New Issue
Block a user