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.
This commit is contained in:
Robert Jones 2017-03-29 14:09:00 +11:00 committed by GitHub
parent f7639bc338
commit 9640aa75a6

View file

@ -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