From 68fc3af746701ea10cf8f081dc96a0ee61f1025e Mon Sep 17 00:00:00 2001 From: Wenzong Fan Date: Thu, 5 Jan 2017 00:23:26 -0800 Subject: selinux_common: remove EXTRA_OEMAKE = "-e" Some variables are exported by top Makefile and updated from sub Makefile (such as PCRE_LDFLAGS, DISABLE_FLAGS ...). The '-e' option prevents those variables from updating in the sub Makefile and causes libselinux build errors: | label.lo:(.data.rel.ro.local+0x20): undefined reference to `selabel_property_init' | label.lo:(.data.rel.ro.local+0x28): undefined reference to `selabel_service_init' oe-core also cleaned such default value from commit: aeb65386 Signed-off-by: Wenzong Fan Signed-off-by: Joe MacDonald --- recipes-security/selinux/selinux_common.inc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/recipes-security/selinux/selinux_common.inc b/recipes-security/selinux/selinux_common.inc index 7efa694..e4c23a1 100644 --- a/recipes-security/selinux/selinux_common.inc +++ b/recipes-security/selinux/selinux_common.inc @@ -1,10 +1,5 @@ HOMEPAGE = "https://github.com/SELinuxProject" -# EXTRA_OEMAKE is typically: -e MAKEFLAGS= -# "MAKEFLAGS= " causes problems as ENV variables will not pass to subdirs, so -# we redefine EXTRA_OEMAKE here -EXTRA_OEMAKE = "-e" - do_compile() { oe_runmake all \ INCLUDEDIR='${STAGING_INCDIR}' \ -- cgit v1.2.3-54-g00ecf