1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 02:35:23 +03:00
aports/community/libpg_query/dont-override-opt-level.patch
2022-11-19 00:25:34 +00:00

13 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