remove unsupported flags

This commit is contained in:
Sylvestre Ledru 2023-09-05 14:39:28 +02:00
parent 7b269634e8
commit e0057b00ca

4
debian/rules vendored
View File

@ -816,6 +816,10 @@ build-wasm/compiler-rt-%:
@echo "Building compiler-rt for $(cpu)" @echo "Building compiler-rt for $(cpu)"
@echo "Using cmake: $(CMAKE_BIN)" @echo "Using cmake: $(CMAKE_BIN)"
mkdir -p "$@" mkdir -p "$@"
# remove unsupported flags
STAGE_2_CFLAGS=`echo $(STAGE_2_CFLAGS) | sed 's/-fcf-protection//g'`
STAGE_2_CXXFLAGS=`echo $(STAGE_2_CXXFLAGS) | sed 's/-fcf-protection//g'`
$(CMAKE_BIN) -B "$@" -S compiler-rt/lib/builtins/ \ $(CMAKE_BIN) -B "$@" -S compiler-rt/lib/builtins/ \
-G Ninja \ -G Ninja \
$(SCCACHE_CMAKE) \ $(SCCACHE_CMAKE) \