Also ignore "-mbranch-protection=standard" (used on arm64)

This commit is contained in:
Sylvestre Ledru 2023-09-08 13:49:42 +02:00
parent d2910da585
commit a9459c0b95
2 changed files with 8 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-17 (1:17.0.0~+rc4-1~exp4) experimental; urgency=medium
* Also ignore "-mbranch-protection=standard" (used on arm64)
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 08 Sep 2023 13:49:38 +0200
llvm-toolchain-17 (1:17.0.0~+rc4-1~exp3) experimental; urgency=medium llvm-toolchain-17 (1:17.0.0~+rc4-1~exp3) experimental; urgency=medium
* Update control file * Update control file

4
debian/rules vendored
View File

@ -815,8 +815,8 @@ endif
touch $@ touch $@
# Remove some new flags introduced by dpkg 1.22.0; # Remove some new flags introduced by dpkg 1.22.0;
STAGE_2_WASM_CFLAGS := $(shell echo $(STAGE_2_CFLAGS) | sed -e "s/-fcf-protection//g") STAGE_2_WASM_CFLAGS := $(shell echo $(STAGE_2_CFLAGS) | sed -e "s/-fcf-protection//g" -e "s/-mbranch-protection=standard//g")
STAGE_2_WASM_CXXFLAGS := $(shell echo $(STAGE_2_CXXFLAGS) | sed -e "s/-fcf-protection//g") STAGE_2_WASM_CXXFLAGS := $(shell echo $(STAGE_2_CXXFLAGS) | sed -e "s/-fcf-protection//g" -e "s/-mbranch-protection=standard//g")
build-wasm/compiler-rt-%: cpu = $(@:build-wasm/compiler-rt-%=%) build-wasm/compiler-rt-%: cpu = $(@:build-wasm/compiler-rt-%=%)
build-wasm/compiler-rt-%: build-wasm/compiler-rt-%: