summaryrefslogtreecommitdiff
path: root/devel/elfsh/files/patch-libhash__Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/elfsh/files/patch-libhash__Makefile')
-rw-r--r--devel/elfsh/files/patch-libhash__Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/elfsh/files/patch-libhash__Makefile b/devel/elfsh/files/patch-libhash__Makefile
new file mode 100644
index 000000000000..c928d0690ffd
--- /dev/null
+++ b/devel/elfsh/files/patch-libhash__Makefile
@@ -0,0 +1,13 @@
+--- 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