summarylogtreecommitdiffstats
path: root/dont-override-opt-level.patch
diff options
context:
space:
mode:
authorGeorge Rawlinson2021-08-10 21:53:06 +0000
committerGeorge Rawlinson2021-08-10 21:53:06 +0000
commitb28cd767c0a119acd2c5b51b92c496096f68b058 (patch)
treec16f6d058f16335c20859e4fef0aa89beaf3befc /dont-override-opt-level.patch
downloadaur-b28cd767c0a119acd2c5b51b92c496096f68b058.tar.gz
addpkg: libpg_query 13.2.0.7-1
Diffstat (limited to 'dont-override-opt-level.patch')
-rw-r--r--dont-override-opt-level.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dont-override-opt-level.patch b/dont-override-opt-level.patch
new file mode 100644
index 000000000000..bd338cfbe743
--- /dev/null
+++ b/dont-override-opt-level.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -38,7 +38,7 @@
+ ifeq ($(VALGRIND),1)
+ CFLAGS_OPT_LEVEL = -O0
+ endif
+-override CFLAGS += $(CFLAGS_OPT_LEVEL)
++#override CFLAGS += $(CFLAGS_OPT_LEVEL)
+
+ ifeq ($(DEBUG),1)
+ # We always add -g, so this only has to enable assertion checking