From: hobbes1069 Date: Thu, 10 May 2018 21:26:08 +0000 (+0000) Subject: Attempt to fix portaudio building while cross-compiling. X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=d76d5bae8503f71028b63181140ed40de86bc1d0;p=freetel-svn-tracking.git 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 --- 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()