mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-27 07:15:31 +03:00
Specify gcc9+support.cpp dependency for gcc8+ Makefiles
This commit is contained in:
parent
a5fb07d6ac
commit
718186f165
@ -6,7 +6,8 @@ MAKEFILE_LINK:=$(THISFILE).link
|
|||||||
|
|
||||||
-include $(MAKEFILE_LINK)
|
-include $(MAKEFILE_LINK)
|
||||||
|
|
||||||
$(MAKEFILE_LINK): $(shell which $(CXX)) $(THISFILE)
|
# depend on CXX so the correct makefile can be selected when the system is updated
|
||||||
|
$(MAKEFILE_LINK): $(shell which $(CXX)) $(THISFILE) $(SRCROOT)/devtools/gcc9+support.cpp
|
||||||
@ if [ "$(shell printf "$(shell $(CXX) -dumpversion)\n8" | sort -Vr | head -1)" = 8 ]; then \
|
@ if [ "$(shell printf "$(shell $(CXX) -dumpversion)\n8" | sort -Vr | head -1)" = 8 ]; then \
|
||||||
ln -sf $(MAKEFILE_BASE).default $@ ;\
|
ln -sf $(MAKEFILE_BASE).default $@ ;\
|
||||||
else \
|
else \
|
||||||
|
Loading…
Reference in New Issue
Block a user