From 9640aa75a685462aa24a467b6635873b24c0fa1b Mon Sep 17 00:00:00 2001 From: Robert Jones Date: Wed, 29 Mar 2017 14:09:00 +1100 Subject: [PATCH] Remove unnecessary x86 SSE 4.2 popcnt GCC flag -mpopcnt is only a valid flag for x86 platforms with SSE 4.2. Breaks on anything else, e.g. ARM Builds/runs fine without this flag. I don't see any reference to popcnt instruction so I'm not sure what this is there for. --- client/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Makefile b/client/Makefile index 3c7a33fdd..96920229e 100644 --- a/client/Makefile +++ b/client/Makefile @@ -7,7 +7,7 @@ include ../common/Makefile.common CC = gcc CXX = g++ -COMMON_FLAGS += -std=c99 -O3 -mpopcnt -march=native -g +COMMON_FLAGS += -std=c99 -O3 -march=native -g #VPATH = ../common ../zlib OBJDIR = obj