diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/icmake/files/icmake-9.00.00-ar.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/icmake/files/icmake-9.00.00-ar.patch')
-rw-r--r-- | dev-util/icmake/files/icmake-9.00.00-ar.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/icmake/files/icmake-9.00.00-ar.patch b/dev-util/icmake/files/icmake-9.00.00-ar.patch new file mode 100644 index 000000000000..0eff669f8e39 --- /dev/null +++ b/dev-util/icmake/files/icmake-9.00.00-ar.patch @@ -0,0 +1,32 @@ +--- icmake/bootstrap/flags ++++ icmake/bootstrap/flags +@@ -14,3 +14,7 @@ + if [ "${CC}" == "" ] ; then + CC="gcc" + fi ++ ++if [ "${AR}" == "" ] ; then ++ CC="ar" ++fi +--- icmake/bootstrap/functions ++++ icmake/bootstrap/functions +@@ -35,7 +35,7 @@ + + echo -n . + +- try ar crs ../tmp/lib${program}.a */*.o ++ try ${AR} crs ../tmp/lib${program}.a */*.o + + echo -n . + +--- icmake/rss/icm_bootstrap ++++ icmake/rss/icm_bootstrap +@@ -8,7 +8,7 @@ + echo -n . + try ${CC} -c ${CFLAGS} *.c + echo -n . +-try ar rs ../tmp/libicrss.a *.o ++try ${AR} rs ../tmp/libicrss.a *.o + echo -n . + rm *.o + echo . |