Fixed incorrect cross compilation settings with the autoconf script.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@726 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
7d93d4e8b5
commit
5b818b27d5
2243
aconfigure
2243
aconfigure
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,7 @@
|
|||
AC_INIT(pjproject,0.5.8)
|
||||
|
||||
host_orig="$host"
|
||||
|
||||
AC_CANONICAL_BUILD
|
||||
AC_CANONICAL_HOST
|
||||
AC_CANONICAL_TARGET
|
||||
|
@ -24,7 +27,6 @@ fi
|
|||
|
||||
CXXFLAGS="$CFLAGS $CXXFLAGS"
|
||||
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
AC_LANG_C
|
||||
|
@ -446,7 +448,7 @@ AC_SUBST(ac_cross_compile)
|
|||
if test "$build" = "$host"; then
|
||||
ac_cross_compile=
|
||||
else
|
||||
ac_cross_compile=${host}-
|
||||
ac_cross_compile=${host_orig}-
|
||||
fi
|
||||
AC_SUBST(ac_linux_poll,select)
|
||||
AC_SUBST(ac_host,unix)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
export MACHINE_NAME := auto
|
||||
export OS_NAME := auto
|
||||
export HOST_NAME := unix
|
||||
export CC_NAME := @CC@
|
||||
export CC_NAME := gcc
|
||||
export TARGET_NAME := @target@
|
||||
export CROSS_COMPILE := @ac_cross_compile@
|
||||
export LINUX_POLL := @ac_linux_poll@
|
||||
|
|
Loading…
Reference in New Issue