blob: e3049f18f745fd116b710475633fb3ce3595d4e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- icmake-7.20.00/icm_bootstrap
+++ icmake-7.20.00/icm_bootstrap
@@ -31,12 +31,13 @@
if [ "${CFLAGS}" == "" ] ; then CFLAGS="-Wall -O2 -g"; fi
if [ "${CC}" == "" ] ; then CC="gcc"; fi
+if [ "${AR}" == "" ] ; then AR="ar"; fi
echo Creating tmp/libicrss.a
try cd rss
try ${CC} -c ${CFLAGS} ${GLB} *.c
-try ar rs ../tmp/libicrss.a *.o
+try ${AR} rs ../tmp/libicrss.a *.o
rm *.o
cd ..
|