1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

avoid the usage of sse & avx

This commit is contained in:
Stefan Lankes 2017-08-07 20:57:28 +02:00
parent 354ef2c003
commit 576e4867a3

View file

@ -17,7 +17,7 @@ target_include_directories(arch_x86_loader
target_compile_options(arch_x86_loader
PRIVATE -O2 -Wall -m64 -std=gnu99 -ffreestanding -mno-red-zone
-fomit-frame-pointer -fno-builtin -nostdlib -nostdinc)
-fomit-frame-pointer -fno-builtin -nostdlib -nostdinc -mno-sse -mno-avx -mno-mmx -mno-3dnow)
include(CheckCCompilerFlag)
check_c_compiler_flag(-fstrength-reduce HAS_STRENGTH_REDUCE)