mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
rmc: Add -fno-stack-protector
Some toolchains may have configured itself with ssp in such cases just removing -fstack-protector-strong is not enough to disable ssp, additionally disabling it on cmdline is required too Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
parent
8d44e72d6e
commit
c8b3164190
|
@ -21,6 +21,7 @@ EXTRA_OEMAKE = "RMC_INSTALL_PREFIX=${D}/${prefix} \
|
|||
RMC_INSTALL_HEADER_PATH=${D}${includedir}/rmc"
|
||||
|
||||
SECURITY_CFLAGS_remove_class-target = "-fstack-protector-strong"
|
||||
SECURITY_CFLAGS_append_class-target = " -fno-stack-protector"
|
||||
|
||||
python () {
|
||||
ccargs = d.getVar('TUNE_CCARGS').split()
|
||||
|
|
|
@ -28,6 +28,7 @@ EXTRA_OEMAKE = "RMC_INSTALL_PREFIX=${D}/${prefix} \
|
|||
RMC_INSTALL_HEADER_PATH=${D}${includedir}/rmc"
|
||||
|
||||
SECURITY_CFLAGS_remove_class-target = "-fstack-protector-strong"
|
||||
SECURITY_CFLAGS_append_class-target = " -fno-stack-protector"
|
||||
|
||||
do_compile_class-target() {
|
||||
oe_runmake
|
||||
|
|
Loading…
Reference in New Issue
Block a user