Commit 17a77a58 authored by Michael Hamburg's avatar Michael Hamburg

replace default -mavx2 -mbmi2 with -march=native

parent 513e6460
......@@ -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 $@ $<
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment