aboutsummaryrefslogtreecommitdiff
path: root/src/allocators/Hoard/hoard_make.patch
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-06-17 14:54:26 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-06-17 14:54:26 +0200
commit0d192f8cf3c21b2382e227fab057dabe16ea5e8b (patch)
treed1182f33bd69e72fdde0a4731287f28c318ef109 /src/allocators/Hoard/hoard_make.patch
parent3988f2e21754208a548725c590fb42e372a32efa (diff)
downloadallocbench-0d192f8cf3c21b2382e227fab057dabe16ea5e8b.tar.gz
allocbench-0d192f8cf3c21b2382e227fab057dabe16ea5e8b.zip
reduce code duplication by giving each known allocator its own class
also move allocator related code to src/allocators
Diffstat (limited to 'src/allocators/Hoard/hoard_make.patch')
-rw-r--r--src/allocators/Hoard/hoard_make.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/allocators/Hoard/hoard_make.patch b/src/allocators/Hoard/hoard_make.patch
new file mode 100644
index 0000000..4848c57
--- /dev/null
+++ b/src/allocators/Hoard/hoard_make.patch
@@ -0,0 +1,16 @@
+diff --git a/src/GNUmakefile b/src/GNUmakefile
+index 2b2958e..7fa433a 100644
+--- a/src/GNUmakefile
++++ b/src/GNUmakefile
+@@ -1,9 +1,9 @@
+ # Commands to compile Hoard for various targets.
+ # Run make (with no arguments) to see the complete target list.
+
+-CPPFLAGS = -std=c++14 -O3 -DNDEBUG -ffast-math -fno-builtin-malloc -Wall -Wextra -Wshadow -Wconversion -Wuninitialized
++CPPFLAGS = -std=c++14 -O2 -DNDEBUG -ffast-math -fno-builtin-malloc -Wall -Wextra -Wshadow -Wconversion -Wuninitialized
+ #CPPFLAGS = -std=c++14 -g -O0 -ffast-math -fno-builtin-malloc -Wall -Wextra -Wshadow -Wconversion -Wuninitialized
+-CXX = clang++
++CXX = g++
+
+ # Compute platform (OS and architecture) and build accordingly.
+