1 2 3 4 5 6 7 8 9 10 11 12 13
https://bugs.gentoo.org/516854 --- e2fsprogs-libs-1.42.13/configure +++ e2fsprogs-libs-1.42.13/configure @@ -1315,6 +1315,8 @@ if test $cross_compiling = no; then BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H" BUILD_LDFLAGS="$LDFLAGS" +else + BUILD_CFLAGS="$INCLUDES" fi