mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
binutils: fix toolchain crossbuild
gcc on x86_64 doesn't support mbrach-predict=standard so this has removed for toolchain pass1
This commit is contained in:
@@ -51,6 +51,8 @@ ifeq "$(PASS)" "1"
|
|||||||
CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS))
|
CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS))
|
||||||
CFLAGS := $(patsubst -mindirect-branch=%,,$(CFLAGS))
|
CFLAGS := $(patsubst -mindirect-branch=%,,$(CFLAGS))
|
||||||
CFLAGS := $(patsubst -mfunction-return=%,,$(CFLAGS))
|
CFLAGS := $(patsubst -mfunction-return=%,,$(CFLAGS))
|
||||||
|
CFLAGS := $(patsubst -mbranch-protection=%,,$(CFLAGS))
|
||||||
|
CXXFLAGS := $(patsubst -mbranch-protection=%,,$(CXXFLAGS))
|
||||||
CFLAGS := $(patsubst -fstack-clash-protection,,$(CFLAGS))
|
CFLAGS := $(patsubst -fstack-clash-protection,,$(CFLAGS))
|
||||||
CFLAGS := $(patsubst -fcf-protection,,$(CFLAGS))
|
CFLAGS := $(patsubst -fcf-protection,,$(CFLAGS))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user