From 284ce56948aae60134a1073c6499c7fb97ffb326 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 20 Apr 2019 21:15:46 +0200 Subject: More reorganisation --- aberth/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'aberth/Makefile') diff --git a/aberth/Makefile b/aberth/Makefile index 99f0e16..cd59309 100644 --- a/aberth/Makefile +++ b/aberth/Makefile @@ -1,6 +1,6 @@ CXX = g++ -CXXFLAGS = -Wall -Wextra -std=c++17 -fwrapv $(OPTFLAGS) -OPTFLAGS = -O3 -ffast-math -march=native -mtune=native +CXXFLAGS = -Wall -Wextra -std=c++17 $(OPTFLAGS) +OPTFLAGS = -O3 -ffast-math -march=native -mtune=native -flto LDFLAGS = -pthread ifeq ($(shell uname),Darwin) LDFLAGS += -framework OpenCL @@ -24,7 +24,7 @@ remake: clean aberth: $(OBJECTS) aberth_kernel.o ../lodepng.o - $(CXX) -o $@ $^ $(LDFLAGS) + $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) aberth_kernel.h: aberth_kernel.fut futhark opencl --library $^ -- cgit v1.2.3-54-g00ecf