dlm: Drop -fstack-clash-protection for clang
PATCH 1/1 dlm: Drop -fstack-clash-protection for clang
-fstack-clash-protection is gcc-only option
Signed-off-by Khem Raj <[email protected]>
--- meta-networking/recipes-extended/dlm/dlm_4.0.9.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-networking/recipes-extended/dlm/dlm_4.0.9.bb +4 -0
@@ -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
Signature · 1 line
2.24.0