We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 608fc91 commit 082a0e9Copy full SHA for 082a0e9
Make.inc
@@ -451,6 +451,11 @@ XC_HOST := $(ARCH)$(shell echo $(BUILD_MACHINE) | sed "s/[^-]*\(.*\)$$/\1/")
451
MARCH = $(ARCH)
452
endif
453
454
+# Detect common pre-SSE2 MARCH values known not to work
455
+ifneq ($(findstring $(MARCH),i386 i486 i586 i686 pentium pentium2 pentium3),)
456
+$(error Pre-SSE2 builds are not supported. To create a generic binary, pass MARCH=pentium4)
457
+endif
458
+
459
ifneq ($(MARCH),)
460
CC += -march=$(MARCH)
461
CXX += -march=$(MARCH)
0 commit comments