1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Adjusted build to use default build flags.
Avoid overriding CFLAGS and LDFLAGS in Makefile, append to them instead.
Author: Petter Reinholdtsen <pere@debian.org>
Bug-Debian: https://bugs.debian.org/1119348
Forwarded: no
Last-Update: 2025-10-29
--- array-info-0.16.orig/Makefile
+++ array-info-0.16/Makefile
@@ -8,8 +8,8 @@ subdirs = lib plugins include
INCLUDES = -I./include -I./linuxheaders
-CFLAGS = -g2 -Wall $(INCLUDES) -DARRAY_PLUGIN_PATH=\"$(ARRAY_PLUGIN_PATH)\"
-LDFLAGS = -L./lib -larray-info -ldl
+CFLAGS += -g2 -Wall $(INCLUDES) -DARRAY_PLUGIN_PATH=\"$(ARRAY_PLUGIN_PATH)\"
+LDFLAGS += -L./lib -larray-info -ldl
OBJS = array_plugin.o array_utils.o main.o
ARRAY_PLUGIN_PATH=$(pkglibdir)/plugins
|