From e0057b00ca8740d80748c3adf52dac2f06426b5a Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 5 Sep 2023 14:39:28 +0200 Subject: [PATCH] remove unsupported flags --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 38f92b02..9278a8f1 100755 --- a/debian/rules +++ b/debian/rules @@ -816,6 +816,10 @@ build-wasm/compiler-rt-%: @echo "Building compiler-rt for $(cpu)" @echo "Using cmake: $(CMAKE_BIN)" 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/ \ -G Ninja \ $(SCCACHE_CMAKE) \