aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/array-info/array-info-makefile.patch
blob: db7c18e450b6342f5a5afb75b4dd543b8eeae9ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.orig	Tue Dec 29 13:46:28 2009
+++ Makefile	Tue Dec 29 13:47:38 2009
@@ -1,5 +1,5 @@
 DESTDIR =
-prefix = /usr/local
+prefix = /usr
 sbindir = $(prefix)/sbin
 pkglibdir = $(prefix)/lib/array-info
 mandir = $(prefix)/share/man
@@ -8,8 +8,8 @@
 
 INCLUDES = -I./include -I./linuxheaders
 
-CFLAGS = -g2 -Wall $(INCLUDES) -DARRAY_PLUGIN_PATH=\"$(ARRAY_PLUGIN_PATH)\"
-LDFLAGS = -L./lib -larray-info -ldl
+CFLAGS += -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