openbsd-ports/telephony/pjsua/patches/patch-aconfigure_ac

21 lines
495 B
Plaintext
Raw Normal View History

2012-08-20 04:24:42 -04:00
$OpenBSD: patch-aconfigure_ac,v 1.6 2012/08/20 08:24:42 dcoppa Exp $
2010-09-14 03:37:19 -04:00
zap CROSS_COMPILE variable
2012-07-17 06:46:04 -04:00
--- aconfigure.ac.orig Thu Jun 7 04:24:51 2012
+++ aconfigure.ac Tue Jul 17 11:39:23 2012
2010-09-14 03:37:19 -04:00
@@ -41,13 +41,6 @@ AC_PROG_CC
AC_PROG_CXX
AC_LANG_C
-dnl #
-dnl # Setup CROSS_COMPILE variable
-dnl #
-if test -z "$CROSS_COMPILE"; then
- CROSS_COMPILE=`echo ${CC} | sed 's/gcc//'`
-fi
-
if test "$AR" = ""; then AR="${CROSS_COMPILE}ar rv"; fi
AC_SUBST(AR)
if test "$LD" = ""; then LD="$CC"; fi