From d76d5bae8503f71028b63181140ed40de86bc1d0 Mon Sep 17 00:00:00 2001 From: hobbes1069 Date: Thu, 10 May 2018 21:26:08 +0000 Subject: [PATCH] Attempt to fix portaudio building while cross-compiling. git-svn-id: https://svn.code.sf.net/p/freetel/code@3594 01035d8c-6547-0410-b346-abe4f91aad63 --- freedv-dev/cmake/BuildPortaudio.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freedv-dev/cmake/BuildPortaudio.cmake b/freedv-dev/cmake/BuildPortaudio.cmake index cc33d061..7acd8a03 100644 --- a/freedv-dev/cmake/BuildPortaudio.cmake +++ b/freedv-dev/cmake/BuildPortaudio.cmake @@ -14,7 +14,8 @@ endif() # Make sure that configure knows what system we're using when cross-compiling. if(MINGW AND CMAKE_CROSSCOMPILING) include(cmake/MinGW.cmake) - set(CONFIGURE_COMMAND ./configure --build=${HOST} --host=${HOST} --target=${HOST} --enable-cxx --without-jack --disable-shared --prefix=${CMAKE_BINARY_DIR}/external/dist) + set(CONFIGURE_COMMAND ./configure --host=${HOST} --target=${HOST} --enable-cxx --without-jack --disable-shared --prefix=${CMAKE_BINARY_DIR}/external/dist) + #set(CONFIGURE_COMMAND ./configure --build=${CMAKE_HOST_SYSTEM} --host=${HOST} --target=${HOST} --enable-cxx --without-jack --disable-shared --prefix=${CMAKE_BINARY_DIR}/external/dist) else() set(CONFIGURE_COMMAND ./configure --enable-cxx --without-jack --disable-shared --prefix=${CMAKE_BINARY_DIR}/external/dist) endif() -- 2.25.1