void-packages/srcpkgs/e2fsprogs/patches/cross.patch
2016-05-27 08:36:52 +02:00

12 lines
435 B
Diff

--- 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)