From: Michael Forney Date: Mon, 15 Sep 2014 18:30:00 +0000 (-0400) Subject: Don't clear BUILD_CFLAGS and BUILD_LDFLAGS when cross-compiling X-Git-Tag: v1.42.13~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1419b5ae0b3bf093bd694dd592ebfdb58ac92d10;p=thirdparty%2Fe2fsprogs.git Don't clear BUILD_CFLAGS and BUILD_LDFLAGS when cross-compiling Signed-off-by: Michael Forney Signed-off-by: Theodore Ts'o --- diff --git a/configure b/configure index b9ce43dd8..ff80746e0 100755 --- a/configure +++ b/configure @@ -13403,9 +13403,6 @@ fi if test $cross_compiling = no; then BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H" BUILD_LDFLAGS="$LDFLAGS" -else - BUILD_CFLAGS= - BUILD_LDFLAGS= fi diff --git a/configure.in b/configure.in index 2e59fdef1..926bc43df 100644 --- a/configure.in +++ b/configure.in @@ -1306,9 +1306,6 @@ dnl if test $cross_compiling = no; then BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H" BUILD_LDFLAGS="$LDFLAGS" -else - BUILD_CFLAGS= - BUILD_LDFLAGS= fi AC_SUBST(BUILD_CFLAGS) AC_SUBST(BUILD_LDFLAGS)