diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-05-21 14:42:31 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-05-21 14:42:31 -0600 |
commit | 780227c0575a0ee4ee593e600c6b630eaa6d1c43 (patch) | |
tree | 8e112e357514886017a89c0cb3b16519eade5ff6 /src | |
parent | f55b32cbf56858397e323492cf0c6d5748dc7e5b (diff) |
qemu: use cbuild gcc for avx512 exclusion
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/qemu/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile index 9297a1d..0bd285c 100644 --- a/src/tests/qemu/Makefile +++ b/src/tests/qemu/Makefile @@ -67,7 +67,7 @@ export CPPFLAGS := -I$(BUILD_PATH)/include ifeq ($(HOST_ARCH),$(ARCH)) CROSS_COMPILE_FLAG := --host=$(CHOST) CFLAGS += -march=native -OMIT_AVX512 := $(shell gcc -march=native -Q --help=target | sed -n 's/.*\-m\(avx512[^ ]*\).*\[enabled\].*/-mno-\1/p') +OMIT_AVX512 := $(shell $(CBUILD)-gcc -march=native -Q --help=target | sed -n 's/.*\-m\(avx512[^ ]*\).*\[enabled\].*/-mno-\1/p') CFLAGS += $(OMIT_AVX512) STRIP := strip else |