add sse3 compiler flag

This commit is contained in:
Qiyu8
2020-10-10 10:36:15 +08:00
parent 60e6c68e38
commit f32d34a015
3 changed files with 11 additions and 0 deletions

View File

@@ -5,6 +5,9 @@ endif
TOPDIR = ..
include $(TOPDIR)/Makefile.system
ifdef HAVE_SSE3
CFLAGS += -msse3
endif
ifeq ($(C_COMPILER), GCC)
GCCVERSIONGTEQ9 := $(shell expr `$(CC) -dumpversion | cut -f1 -d.` \>= 9)