Do not build with SIMD support

This commit is contained in:
Alex 2023-04-02 15:47:10 +03:00
parent 21b743e047
commit d8a3c5a127
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 6 additions and 2 deletions

View File

@ -27,7 +27,9 @@ else ifeq ($(OSARCH), i386)
ASM_ARCH := elf32
endif
CFLAGS := -fPIC -fPIE -I../include -I../../libc/include
SIMD_FLAGS := -mno-sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-avx -mno-avx2 -mno-avx512f
CFLAGS := -fPIC -fPIE -I../include -I../../libc/include $(SIMD_FLAGS)
build: $(OBJECT_NAME)

View File

@ -27,7 +27,9 @@ else ifeq ($(OSARCH), i386)
ASM_ARCH := elf32
endif
CFLAGS := -fPIC -fPIE -I../include -I../../libc/include
SIMD_FLAGS := -mno-sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-avx -mno-avx2 -mno-avx512f
CFLAGS := -fPIC -fPIE -I../include -I../../libc/include $(SIMD_FLAGS)
build: $(OBJECT_NAME)