aboutsummaryrefslogtreecommitdiff
path: root/src/allocators/Hoard/hoard_make.patch
diff options
context:
space:
mode:
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.
+