Whamcloud - gitweb
Don't clear BUILD_CFLAGS and BUILD_LDFLAGS when cross-compiling
authorMichael Forney <forney@google.com>
Mon, 15 Sep 2014 18:30:00 +0000 (14:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 16 Sep 2014 16:26:49 +0000 (12:26 -0400)
Signed-off-by: Michael Forney <forney@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
configure
configure.in

index b9ce43d..ff80746 100755 (executable)
--- 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
 
 
index 2e59fde..926bc43 100644 (file)
@@ -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)