freebsd-ports/devel/elfsh/files/patch-libhash::Makefile
2011-11-03 08:14:02 +00:00

13 lines
413 B
Text

--- libhash/Makefile.orig 2003-08-21 09:11:03.000000000 +0800
+++ libhash/Makefile 2011-10-03 16:33:58.000000000 +0800
@@ -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