mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[pjsip] fixes ccache compile and adds missing -lc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32387 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
--- a/aconfigure.ac
|
||||
+++ b/aconfigure.ac
|
||||
@@ -48,9 +48,9 @@ if test -z "$CROSS_COMPILE"; then
|
||||
@@ -48,9 +48,8 @@ if test -z "$CROSS_COMPILE"; then
|
||||
CROSS_COMPILE=`echo ${CC} | sed 's/gcc//'`
|
||||
fi
|
||||
|
||||
-if test "$AR" = ""; then AR="${CROSS_COMPILE}ar rv"; fi
|
||||
+AR="${CROSS_COMPILE}ar rv"
|
||||
+AR="${AR} rv"
|
||||
AC_SUBST(AR)
|
||||
-if test "$LD" = ""; then LD="$CC"; fi
|
||||
+LD="${CROSS_COMPILE}gcc"
|
||||
AC_SUBST(LD)
|
||||
if test "$LDOUT" = ""; then LDOUT="-o "; fi
|
||||
AC_SUBST(LDOUT)
|
||||
|
||||
Reference in New Issue
Block a user