* [Buildroot] [PATCH 1/2] policycoreutils: CPPFLAGS undefine _FILE_OFFSET_BITS
@ 2016-12-13 4:21 Matt Weber
2016-12-13 4:21 ` [Buildroot] [PATCH 2/2] policycoreutils: restorecon libglib2 dependency Matt Weber
2016-12-13 9:56 ` [Buildroot] [PATCH 1/2] policycoreutils: CPPFLAGS undefine _FILE_OFFSET_BITS Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Matt Weber @ 2016-12-13 4:21 UTC (permalink / raw)
To: buildroot
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>
---
package/policycoreutils/policycoreutils.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/policycoreutils/policycoreutils.mk b/package/policycoreutils/policycoreutils.mk
index b43569f..c9f9ebc 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)"
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] policycoreutils: restorecon libglib2 dependency
2016-12-13 4:21 [Buildroot] [PATCH 1/2] policycoreutils: CPPFLAGS undefine _FILE_OFFSET_BITS Matt Weber
@ 2016-12-13 4:21 ` Matt Weber
2016-12-13 9:56 ` [Buildroot] [PATCH 1/2] policycoreutils: CPPFLAGS undefine _FILE_OFFSET_BITS Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Matt Weber @ 2016-12-13 4:21 UTC (permalink / raw)
To: buildroot
Updated to match Config.in select of libglib2
package as dependency if restorecon is enabled.
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
package/policycoreutils/policycoreutils.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/policycoreutils/policycoreutils.mk b/package/policycoreutils/policycoreutils.mk
index c9f9ebc..86639cc 100644
--- a/package/policycoreutils/policycoreutils.mk
+++ b/package/policycoreutils/policycoreutils.mk
@@ -48,6 +48,7 @@ POLICYCOREUTILS_MAKE_DIRS = \
ifeq ($(BR2_PACKAGE_POLICYCOREUTILS_RESTORECOND),y)
POLICYCOREUTILS_MAKE_DIRS += restorecond
+POLICYCOREUTILS_DEPENDENCIES += libglib2
endif
# We need to pass DESTDIR at build time because it's used by
# policycoreutils build system to find headers and libraries.
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] policycoreutils: CPPFLAGS undefine _FILE_OFFSET_BITS
2016-12-13 4:21 [Buildroot] [PATCH 1/2] policycoreutils: CPPFLAGS undefine _FILE_OFFSET_BITS Matt Weber
2016-12-13 4:21 ` [Buildroot] [PATCH 2/2] policycoreutils: restorecon libglib2 dependency Matt Weber
@ 2016-12-13 9:56 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-12-13 9:56 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 12 Dec 2016 22:21:07 -0600, Matt Weber wrote:
> 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>
> ---
> package/policycoreutils/policycoreutils.mk | 2 ++
> 1 file changed, 2 insertions(+)
Both applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-12-13 9:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-13 4:21 [Buildroot] [PATCH 1/2] policycoreutils: CPPFLAGS undefine _FILE_OFFSET_BITS Matt Weber
2016-12-13 4:21 ` [Buildroot] [PATCH 2/2] policycoreutils: restorecon libglib2 dependency Matt Weber
2016-12-13 9:56 ` [Buildroot] [PATCH 1/2] policycoreutils: CPPFLAGS undefine _FILE_OFFSET_BITS Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.