summaryrefslogtreecommitdiff
path: root/devel/elfsh/files/patch-modules::Makefile
blob: 052a30c812309c55c54ccbe5fcc3712dca0372f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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