ports/devel/icmake/files/patch-exec-bootstrap
Gabor Pali 6a62c1c1f4 r307972@csupor: pgj | 2012-12-04 09:41:39 +0100
- Update to 7.19.00
 - Trim Makefile header
 - Set license
 - Teach more about how to respect CC and CFLAGS

 Feature safe:	yes
2012-12-04 09:13:30 +00:00

23 lines
608 B
Text

--- exec/bootstrap.orig 2012-09-07 09:43:56.000000000 +0200
+++ exec/bootstrap 2012-12-01 23:45:56.000000000 +0100
@@ -1,6 +1,6 @@
echo Creating icm-exec
-gcc -O2 -g -Wall -DHAVE_GLOB -c *.c
+${CC} ${CFLAGS} -g -DHAVE_GLOB -c *.c
mkdir -p tmp/bin
@@ -8,10 +8,10 @@
for x in auks var virtual int list string stack opcodefun builtin
do
cd $x
- gcc -O2 -g -Wall -DHAVE_GLOB -c *.c || exit 1
+ ${CC} ${CFLAGS} -g -DHAVE_GLOB -c *.c || exit 1
cd ..
done
-gcc -o tmp/bin/icm-exec$1 *.o */*.o ../rss/libicrss.a
+${CC} -o tmp/bin/icm-exec$1 *.o */*.o ../rss/libicrss.a
rm *.o */*.o