Makefile.in: Respect CXXFLAGS if given
This commit is contained in:
parent
d10262c9ef
commit
4ae8aed082
@ -77,7 +77,9 @@ if test "$GCC" = yes ; then
|
|||||||
AC_TRY_LINK( , ,
|
AC_TRY_LINK( , ,
|
||||||
AC_MSG_RESULT(yes),
|
AC_MSG_RESULT(yes),
|
||||||
AC_MSG_RESULT(no); CFLAGS="$OLDCFLAGS")
|
AC_MSG_RESULT(no); CFLAGS="$OLDCFLAGS")
|
||||||
|
if test "x$CXXFLAGS" = x ; then
|
||||||
CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'`
|
CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'`
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
|
Loading…
Reference in New Issue
Block a user