how-lix-os-pkgs/nlmon/default/patch

24 lines
544 B
Plaintext

diff --git a/config.mk b/config.mk
index 3609719..da2b6b8 100644
--- a/config.mk
+++ b/config.mk
@@ -5,15 +5,16 @@ VERSION = 0.3
# Customize below to fit your system
# paths
-PREFIX ?= /usr
+PREFIX ?= /
MANPREFIX = ${PREFIX}/share/man
+DESTDIR = $(MUFS)
# includes and libs
INCS = -I. -I/usr/include
LIBS = -L/usr/lib -lc
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\"
+CPPFLAGS = -DVERSION=\"${VERSION}\" $(CXXFLAGS)
CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
LDFLAGS = -g -static ${LIBS}
#LDFLAGS = -s ${LIBS}