diff options
author | Matt Weber <matthew.weber@rockwellcollins.com> | 2016-12-12 22:21:07 -0600 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-12-13 10:55:45 +0100 |
commit | a08b08e8c90d5e46ef99acb936a840d7eab5b42c (patch) | |
tree | a7fec752ded881fe84b636ba35b258dfe11c1dd5 /package/policycoreutils | |
parent | f65e462da2b1100fb407b1409278bf42d6cc5ee3 (diff) |
policycoreutils: CPPFLAGS undefine _FILE_OFFSET_BITS
Undefining _FILE_OFFSET_BITS here because of a "bug" with glibc fts.h
large file support.
Similar action was taken previously for CFLAGS.
Resolves:
http://autobuild.buildroot.net/results/4cb/4cb70d776bee01f1284e0c0be5b3fb5f1011353a/
http://autobuild.buildroot.net/results/f43/f438149e7d83475d425e1c1f17550f3cf5f69340/
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/policycoreutils')
-rw-r--r-- | package/policycoreutils/policycoreutils.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/policycoreutils/policycoreutils.mk b/package/policycoreutils/policycoreutils.mk index b43569fc9..c9f9ebc89 100644 --- a/package/policycoreutils/policycoreutils.mk +++ b/package/policycoreutils/policycoreutils.mk @@ -36,6 +36,7 @@ endif POLICYCOREUTILS_MAKE_OPTS += \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -U_FILE_OFFSET_BITS" \ + CPPFLAGS="$(TARGET_CPPFLAGS) -U_FILE_OFFSET_BITS" \ ARCH="$(BR2_ARCH)" POLICYCOREUTILS_MAKE_DIRS = \ @@ -74,6 +75,7 @@ HOST_POLICYCOREUTILS_DEPENDENCIES = \ HOST_POLICYCOREUTILS_MAKE_OPTS = \ $(HOST_CONFIGURE_OPTS) \ CFLAGS="$(HOST_CFLAGS) -U_FILE_OFFSET_BITS" \ + CPPFLAGS="$(HOST_CPPFLAGS) -U_FILE_OFFSET_BITS" \ PYTHON="$(HOST_DIR)/usr/bin/python" \ PYTHON_INSTALL_ARGS="$(HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS)" \ ARCH="$(HOSTARCH)" |