summaryrefslogtreecommitdiffstats
path: root/rules/host-libselinux.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2013-02-11 09:56:12 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2013-02-11 09:58:17 +0100
commit92aa626e811dc92ff93f1f63fa5a8dc5400ac57c (patch)
treee3585a69c3893f05c701527ad9d055644befa8e0 /rules/host-libselinux.make
parent26dc7a25f18107d225b00a6ad4cc721823778a12 (diff)
downloadptxdist-92aa626e811dc92ff93f1f63fa5a8dc5400ac57c.tar.gz
ptxdist-92aa626e811dc92ff93f1f63fa5a8dc5400ac57c.tar.xz
host-libselinux: set CFLAGS manually
...to overwrite -W<warning> which are not supported by all compilers. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/host-libselinux.make')
-rw-r--r--rules/host-libselinux.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/host-libselinux.make b/rules/host-libselinux.make
index 6be809167..616037439 100644
--- a/rules/host-libselinux.make
+++ b/rules/host-libselinux.make
@@ -18,7 +18,9 @@ HOST_PACKAGES-$(PTXCONF_HOST_LIBSELINUX) += host-libselinux
# ----------------------------------------------------------------------------
HOST_LIBSELINUX_CONF_TOOL := NO
-HOST_LIBSELINUX_MAKE_ENV := $(HOST_ENV)
+HOST_LIBSELINUX_MAKE_ENV := \
+ $(HOST_ENV) \
+ CFLAGS="-O2 -Wall -g"
HOST_LIBSELINUX_MAKE_OPT := PREFIX=$(PTXDIST_SYSROOT_HOST)
# no ':=' here
HOST_LIBSELINUX_INSTALL_OPT = \