aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 976d5b885..1067b5a62 100644
--- a/Makefile
+++ b/Makefile
@@ -231,6 +231,9 @@ ifeq ($(PROC),ppc)
endif
ifeq ($(OSARCH),FreeBSD)
+ ifeq ($(PROC),i386)
+ _ASTCFLAGS+=-march=i686
+ endif
# -V is understood by BSD Make, not by GNU make.
BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
_ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)