mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
dlm: Drop -fstack-clash-protection for clang
-fstack-clash-protection is gcc-only option Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
53d431639a
commit
85bb13e022
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user