ports/devel/elfsh/files/patch-modules__Makefile
Baptiste Daroussin 3c4a170b07 Fix collision with dprintf(3)
While here, regenerate patches and move some post-patch into an already existing
patch
2016-07-29 23:02:48 +00:00

15 lines
439 B
Text

--- modules/Makefile.orig 2003-08-21 01:11:03 UTC
+++ modules/Makefile
@@ -18,9 +18,9 @@ SRC3 = modremap.c
OBJ3 = $(SRC3:.c=.o)
NAM3 = modremap.so
-CFLAGS = -I../vm/include/ -I../libhash/include/ -I../libelfsh/include/ \
- -Wall -g3 -O2 -fPIC -rdynamic -DELFSH_INTERN
-CC = gcc
+CFLAGS += -I../vm/include/ -I../libhash/include/ -I../libelfsh/include/ \
+ -Wall -g3 -fPIC -rdynamic -DELFSH_INTERN
+CC ?= gcc
all : test remap #flow