ports/devel/elfsh/files/patch-libhash__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

13 lines
365 B
Text

--- libhash/Makefile.orig 2003-08-21 01:11:03 UTC
+++ libhash/Makefile
@@ -7,8 +7,8 @@
SRC = hash.c
OBJ = hash.o
-CFLAGS = -Wall -g3 -Iinclude -I../libelfsh/include/ -I../elfsh/include/ -DELFSH_INTERN
-CC = gcc
+CFLAGS += -Wall -g3 -Iinclude -I../libelfsh/include/ -I../elfsh/include/ -DELFSH_INTERN
+CC ?= gcc
AR = ar rc
RANLIB = ranlib
NAME = libhashelfsh