fixing the fix: older shells don't know about &> 508/head
authorpwpiwi <pwpiwi@users.noreply.github.com>
Wed, 6 Dec 2017 08:25:10 +0000 (09:25 +0100)
committerpwpiwi <pwpiwi@users.noreply.github.com>
Wed, 6 Dec 2017 08:25:10 +0000 (09:25 +0100)
client/Makefile

index b9f5e78ba464ce20f24e35268590a50c97c8e910..ec593558d83c1598237584222743ac98fa709f74 100644 (file)
@@ -192,7 +192,7 @@ MULTIARCHOBJS = $(MULTIARCHSRCS:%.c=$(OBJDIR)/%_NOSIMD.o) \
                        $(MULTIARCHSRCS:%.c=$(OBJDIR)/%_AVX.o) \
                        $(MULTIARCHSRCS:%.c=$(OBJDIR)/%_AVX2.o)
 
-SUPPORTS_AVX512 :=  $(shell echo | gcc -E -mavx512f - &> /dev/null && echo "True" )
+SUPPORTS_AVX512 :=  $(shell echo | gcc -E -mavx512f - > /dev/null 2>&1 && echo "True" )
 HARD_SWITCH_NOSIMD = -mno-mmx -mno-sse2 -mno-avx -mno-avx2
 HARD_SWITCH_MMX = -mmmx -mno-sse2 -mno-avx -mno-avx2
 HARD_SWITCH_SSE2 = -mmmx -msse2 -mno-avx -mno-avx2
Impressum, Datenschutz