mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 10:22:59 +02:00
gcc: fix toolchain crossbuild
gcc doesn't support mbranch-predict=standard on x86_64 so this is removed in toolchain pass1
This commit is contained in:
1
lfs/gcc
1
lfs/gcc
@@ -43,6 +43,7 @@ CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS))
|
||||
CFLAGS := $(filter-out -fexceptions,$(CFLAGS))
|
||||
|
||||
CFLAGS := $(patsubst -mindirect-branch=%,,$(CFLAGS))
|
||||
CFLAGS := $(patsubst -mbranch-protection=%,,$(CFLAGS))
|
||||
CFLAGS := $(patsubst -mfunction-return=%,,$(CFLAGS))
|
||||
CFLAGS := $(patsubst -fstack-clash-protection,,$(CFLAGS))
|
||||
CFLAGS := $(patsubst -fcf-protection,,$(CFLAGS))
|
||||
|
||||
Reference in New Issue
Block a user