mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 09:50:53 +00:00
remove unsupported flags
This commit is contained in:
parent
7b269634e8
commit
e0057b00ca
4
debian/rules
vendored
4
debian/rules
vendored
@ -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) \
|
||||||
|
Loading…
Reference in New Issue
Block a user