We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a0f863 + 103d6f4 commit bf3183dCopy full SHA for bf3183d
Makefile.system
@@ -405,6 +405,13 @@ export MACOSX_DEPLOYMENT_TARGET=10.8
405
endif
406
407
MD5SUM = md5 -r
408
+XCVER = $(shell pkgutil --pkg-info=com.apple.pkg.Xcode |awk '/version:/ {print $2}'|cut -d: -f2|cut -f1 -d.)
409
+ifeq (x$(XCVER)x,xx)
410
+XCVER = $(shell pkgutil --pkg-info=com.apple.pkg.CLTools_Executables |awk '/version:/ {print $2}'|cut -d: -f2|cut -f1 -d.)
411
+endif
412
+ifeq (x$(XCVER), x 15)
413
+CCOMMON_OPT += -Wl,-ld_classic
414
415
416
417
ifneq (,$(findstring $(OSNAME), FreeBSD OpenBSD DragonFly))
0 commit comments