void-packages/srcpkgs/e2fsprogs/patches/cross.patch

13 lines
435 B
Diff
Raw Normal View History

2016-05-27 06:36:52 +00:00
--- configure.ac.orig 2016-05-27 08:33:04.640545512 +0200
+++ configure.ac 2016-05-27 08:33:48.959953501 +0200
@@ -1381,6 +1381,9 @@ dnl
if test $cross_compiling = no; then
BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H"
BUILD_LDFLAGS="$LDFLAGS"
+else
+ BUILD_CFLAGS="$BUILD_CFLAGS $BUILD_CPPFLAGS $INCLUDES -DHAVE_CONFIG_H"
+ BUILD_LDFLAGS="$BUILD_LDFLAGS"
fi
AC_SUBST(BUILD_CFLAGS)
AC_SUBST(BUILD_LDFLAGS)