From 17a77a582060d8d2207e95408c3ff8c9eb3b204d Mon Sep 17 00:00:00 2001 From: Michael Hamburg Date: Thu, 25 May 2017 13:51:12 -0700 Subject: [PATCH] replace default -mavx2 -mbmi2 with -march=native --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index bbb41d0..7406218 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,6 @@ BUILD_LIB = build/lib BUILD_INC = src/GENERATED/include BUILD_BIN = build/bin BUILD_IBIN = build/obj/bin -BATBASE=ed448goldilocks_decaf_bats_$(TODAY) -BATNAME=build/$(BATBASE) ifeq ($(UNAME),Darwin) CC = clang @@ -49,8 +47,7 @@ endif TODAY = $(shell date "+%Y-%m-%d") -#FIXME ARCHFLAGS -ARCHFLAGS ?= -mavx2 -mbmi2 #TODO +ARCHFLAGS ?= -march=native ifeq ($(CC),clang) WARNFLAGS_C += -Wgcc-compat @@ -266,7 +263,6 @@ else endif - $(BUILD_OBJ)/%.o: src/%.c $(HEADERS) $(CC) $(CFLAGS) -c -o $@ $<