mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 14:47:14 +00:00
Too old version of gcc. Force gcc 11
Should be triggered only on bionic https://reviews.llvm.org/D110338 Should be removed when we moved to RUNTIMES as we will use clang to build libc++ even stage1 (only from stage2 now)
This commit is contained in:
parent
b854e644c5
commit
a112c44b6d
10
debian/rules
vendored
10
debian/rules
vendored
@ -78,9 +78,13 @@ export DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath optimize=-lto
|
||||
# Cxx flags for building libcxx and libcxxabi
|
||||
LIBCXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
|
||||
|
||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) lt 4.9-20140411-1~ ; echo $$?),0)
|
||||
# Too old version of gcc. Force 4.9
|
||||
GCC_VERSION := 4.9
|
||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) lt 9 ; echo $$?),0)
|
||||
# Too old version of gcc. Force gcc 11
|
||||
# Should be triggered only on bionic
|
||||
# https://reviews.llvm.org/D110338
|
||||
# Should be removed when we moved to RUNTIMES as we
|
||||
# will use clang to build libc++ even stage1 (only from stage2 now)
|
||||
GCC_VERSION := 11
|
||||
endif
|
||||
|
||||
Z3_FLAG = -DLLVM_ENABLE_Z3_SOLVER=OFF
|
||||
|
Loading…
Reference in New Issue
Block a user