1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/libpg_query/dont-override-opt-level.patch
2021-06-06 01:38:25 +02:00

13 lines
314 B
Diff

Don't force -O flag, respect our CFLAGS.
--- 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