aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-06-10 08:06:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-08 13:33:58 +0100
commitfcfe6d4ab4460f8358e13023022a5e909941ca93 (patch)
tree8b50638697742dc2fd190b11b74ff35b341c313b
parente93765ffb5718b0fce84f0b8123963176dea95e4 (diff)
downloadopenembedded-core-contrib-fcfe6d4ab4460f8358e13023022a5e909941ca93.tar.gz
openembedded-core-contrib-fcfe6d4ab4460f8358e13023022a5e909941ca93.tar.bz2
openembedded-core-contrib-fcfe6d4ab4460f8358e13023022a5e909941ca93.zip
distutils,setuptools: Delete use of SECURITY_NO_PIE_CFLAGS
gcc can handle PIE in gcc driver Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta/classes/distutils-common-base.bbclass2
-rw-r--r--meta/classes/setuptools.bbclass2
2 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass
index fa733c672c3..824a1b68b1f 100644
--- a/meta/classes/distutils-common-base.bbclass
+++ b/meta/classes/distutils-common-base.bbclass
@@ -11,5 +11,3 @@ FILES_${PN}-dev += "\
${libdir}/pkgconfig \
${PYTHON_SITEPACKAGES_DIR}/*.la \
"
-
-SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
diff --git a/meta/classes/setuptools.bbclass b/meta/classes/setuptools.bbclass
index 7d0c5267d74..56343b1c731 100644
--- a/meta/classes/setuptools.bbclass
+++ b/meta/classes/setuptools.bbclass
@@ -6,5 +6,3 @@ DISTUTILS_INSTALL_ARGS = "--root=${D} \
--prefix=${prefix} \
--install-lib=${PYTHON_SITEPACKAGES_DIR} \
--install-data=${datadir}"
-
-SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"