alsa-lib: remove cross-compile guess (restore old patch)
Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
parent
0d260899aa
commit
72b9db1122
|
@ -0,0 +1,23 @@
|
|||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -27,20 +27,6 @@ AC_PREFIX_DEFAULT(/usr)
|
||||
|
||||
dnl Checks for programs.
|
||||
|
||||
-dnl try to gues cross-compiler if not set
|
||||
-if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
|
||||
-then
|
||||
- AC_MSG_CHECKING(for cross-compiler)
|
||||
-
|
||||
- which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
|
||||
- which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
|
||||
- && CC=${host_cpu}-${host_os}-gcc
|
||||
- which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
|
||||
- && CC=${host_cpu}-${host_vendor}-${host_os}-gcc
|
||||
-
|
||||
- AC_MSG_RESULT($CC)
|
||||
-fi
|
||||
-
|
||||
CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
||||
|
||||
|
Loading…
Reference in New Issue