e2fsprogs-1.42.13-fix-build-cflags.patch 290 B

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