summaryrefslogtreecommitdiff
path: root/math/frobby/files/patch-Makefile
blob: cfc3ae736a562cd382fd14679f0f07203819b723 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- Makefile.orig	2021-02-23 21:29:06 UTC
+++ Makefile
@@ -99,7 +99,6 @@ endif
 MATCH=false
 ifeq ($(MODE), release)
   outdir = bin/release/
-  cxxflags += -O2
   MATCH=true
 endif
 ifeq ($(MODE), debug)
@@ -111,13 +110,13 @@ ifeq ($(MODE), debug)
 endif
 ifeq ($(MODE), shared)
   outdir = bin/shared/
-  cxxflags += -O2 -fPIC
+  cxxflags += -fPIC
   library = libfrobby.so
   MATCH=true
 endif
 ifeq ($(MODE), profile)
   outdir = bin/profile/
-  cxxflags += -g -pg -O2 -D PROFILE
+  cxxflags += -g -pg -D PROFILE
   ldflags += -pg
   MATCH=true
   benchArgs = _profile $(FROBBYARGS)