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 ...@@ -16,8 +16,6 @@ BUILD_LIB = build/lib
BUILD_INC = src/GENERATED/include BUILD_INC = src/GENERATED/include
BUILD_BIN = build/bin BUILD_BIN = build/bin
BUILD_IBIN = build/obj/bin BUILD_IBIN = build/obj/bin
BATBASE=ed448goldilocks_decaf_bats_$(TODAY)
BATNAME=build/$(BATBASE)
ifeq ($(UNAME),Darwin) ifeq ($(UNAME),Darwin)
CC = clang CC = clang
...@@ -49,8 +47,7 @@ endif ...@@ -49,8 +47,7 @@ endif
TODAY = $(shell date "+%Y-%m-%d") TODAY = $(shell date "+%Y-%m-%d")
#FIXME ARCHFLAGS ARCHFLAGS ?= -march=native
ARCHFLAGS ?= -mavx2 -mbmi2 #TODO
ifeq ($(CC),clang) ifeq ($(CC),clang)
WARNFLAGS_C += -Wgcc-compat WARNFLAGS_C += -Wgcc-compat
...@@ -266,7 +263,6 @@ else ...@@ -266,7 +263,6 @@ else
endif endif
$(BUILD_OBJ)/%.o: src/%.c $(HEADERS) $(BUILD_OBJ)/%.o: src/%.c $(HEADERS)
$(CC) $(CFLAGS) -c -o $@ $< $(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