e2fsprogs: fix build failure of subst.c
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 3 Jun 2016 12:19:50 +0000 (14:19 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 3 Jun 2016 12:19:50 +0000 (14:19 +0200)
commit4d1337e3abd935ae81f2ec7320213c75d7dd4b7c
treef41f10309403170765506135a9a0019878718e2c
parente47638f8dca29b0d9b729edbaeaa11a08f9957fa
e2fsprogs: fix build failure of subst.c

subst.c is built for the host, but uses defines calculated by the
configure script using the cross-compiler. By passing BUILD_CFLAGS, we
help subst.c include the proper header files, and therefore avoid the
build failure.

Fixes:

  http://autobuild.buildroot.org/results/2a66280800b8aa16fee2701b3f345aa24bb13c35/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/e2fsprogs/e2fsprogs.mk