summaryrefslogtreecommitdiffstats
path: root/rules/host-libsepol.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 15:18:13 +0100
commitd71b65a026c69bc2bd924cd0b2982320ef292c65 (patch)
treec0a799322e95893a6842f0670532d5f4c6c06982 /rules/host-libsepol.make
parent92aa626e811dc92ff93f1f63fa5a8dc5400ac57c (diff)
downloadptxdist-d71b65a026c69bc2bd924cd0b2982320ef292c65.tar.gz
ptxdist-d71b65a026c69bc2bd924cd0b2982320ef292c65.tar.xz
host-libsepol: 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-libsepol.make')
-rw-r--r--rules/host-libsepol.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/host-libsepol.make b/rules/host-libsepol.make
index 2a737d7cc..9c381b402 100644
--- a/rules/host-libsepol.make
+++ b/rules/host-libsepol.make
@@ -18,7 +18,9 @@ HOST_PACKAGES-$(PTXCONF_HOST_LIBSEPOL) += host-libsepol
# ----------------------------------------------------------------------------
HOST_LIBSEPOL_CONF_TOOL := NO
-HOST_LIBSEPOL_MAKE_ENV := $(HOST_ENV)
+HOST_LIBSEPOL_MAKE_ENV := \
+ $(HOST_ENV) \
+ CFLAGS="-O2 -Wall -g"
# no ':=' here
HOST_LIBSEPOL_INSTALL_OPT = \
PREFIX=$(HOST_LIBSEPOL_PKGDIR) \