[oe-commits] [meta-openembedded] 01/23: dlm: Drop -fstack-clash-protection for clang

git at git.openembedded.org git at git.openembedded.org
Wed Nov 20 07:33:24 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 85bb13e02228018968c41b5c792da0a79eb330d3
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Nov 19 10:48:46 2019 -0800

    dlm: Drop -fstack-clash-protection for clang
    
    -fstack-clash-protection is gcc-only option
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-networking/recipes-extended/dlm/dlm_4.0.9.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-networking/recipes-extended/dlm/dlm_4.0.9.bb b/meta-networking/recipes-extended/dlm/dlm_4.0.9.bb
index 876462d..6345c81 100644
--- a/meta-networking/recipes-extended/dlm/dlm_4.0.9.bb
+++ b/meta-networking/recipes-extended/dlm/dlm_4.0.9.bb
@@ -36,6 +36,10 @@ export EXTRA_OEMAKE = ""
 
 DONTBUILD = "${@bb.utils.contains('PACKAGECONFIG', 'pacemaker', '', 'fence', d)}"
 
+do_compile_prepend_toolchain-clang() {
+    sed -i -e "s/-fstack-clash-protection//g" ${S}/*/Makefile
+}
+
 do_compile_prepend() {
     sed -i "s/libsystemd-daemon/libsystemd/g" ${S}/dlm_controld/Makefile
     sed -i -e "s/ ${DONTBUILD}//g" ${S}/Makefile

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list