CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkg-config: updated to 0.29.2
[crossrootfs.git] / e2fsprogs / e2fsprogs-1.42.10-config.patch
CommitLineData
6e6c9b74
VM
12014-06-30 18:40:02.000000000 +0200
2@@ -0,0 +1,19 @@
3Subject: need to add includes to BUILD_CFLAGS for cross-building
4Author: Helmut Grohne <hel...@subdivi.de>
5Last-Modified: 2014-06-30
6
7Otherwise compiling util/subst.c fails because config.h cannot be found.
8
9Index: e2fsprogs-1.42.10/configure
10===================================================================
11--- e2fsprogs-1.42.10.orig/configure 2014-05-15 19:04:08.000000000 +0200
12+++ e2fsprogs-1.42.10/configure 2014-06-30 18:36:53.451482000 +0200
13@@ -11479,7 +11479,7 @@
14 BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H"
15 BUILD_LDFLAGS="$LDFLAGS"
16 else
17- BUILD_CFLAGS=
18+ BUILD_CFLAGS="$INCLUDES"
19 BUILD_LDFLAGS=
20 fi