mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 13:28:35 +00:00
gcc 8 works too
This commit is contained in:
parent
b092faff78
commit
f97abbaf4e
2
debian/rules
vendored
2
debian/rules
vendored
@ -83,7 +83,7 @@ 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 9 ; echo $$?),0)
|
||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) lt 8 ; echo $$?),0)
|
||||
# Too old version of gcc. Force gcc 11
|
||||
# Should be triggered only on bionic
|
||||
# https://reviews.llvm.org/D110338
|
||||
|
Loading…
Reference in New Issue
Block a user