aports/community/libpg_query/dont-override-opt-level.patch
2022-11-19 00:25:34 +00:00

14 lines
314 B
Diff

Don't force -O flag, respect our CFLAGS.
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,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