diff options
Diffstat (limited to 'devel/elfsh/files/patch-modules__Makefile')
-rw-r--r-- | devel/elfsh/files/patch-modules__Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/elfsh/files/patch-modules__Makefile b/devel/elfsh/files/patch-modules__Makefile new file mode 100644 index 000000000000..052a30c81230 --- /dev/null +++ b/devel/elfsh/files/patch-modules__Makefile @@ -0,0 +1,15 @@ +--- modules/Makefile.orig 2003-08-21 09:11:03.000000000 +0800 ++++ modules/Makefile 2011-10-03 16:34:46.000000000 +0800 +@@ -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 + |