From: pwpiwi Date: Wed, 6 Dec 2017 08:25:10 +0000 (+0100) Subject: fixing the fix: older shells don't know about &> X-Git-Tag: v3.1.0~109^2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/1ff75f168baaf43986c7886cba4fd98a6bb9aaac?hp=0fb3e45541fb31b1a09070917b02b81e763777d3 fixing the fix: older shells don't know about &> --- diff --git a/client/Makefile b/client/Makefile index b9f5e78b..ec593558 100644 --- a/client/Makefile +++ b/client/Makefile @@ -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