summaryrefslogtreecommitdiffstats
path: root/rules/host-libselinux.make
diff options
context:
space:
mode:
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 = \