Skip to content

Commit

Permalink
-fPIC for SpeexDSP
Browse files Browse the repository at this point in the history
  • Loading branch information
ibauersachs committed Nov 28, 2021
1 parent b06d11a commit 65f2d13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/native/third_party/speex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if (NOT ${USE_SYSTEM_SPEEX})
INSTALL_DIR ${SPEEXDSP_ROOT}
URL https://ftp.osuosl.org/pub/xiph/releases/speex/speexdsp-1.2.0.tar.gz
URL_HASH SHA256=682042FC6F9BEE6294EC453F470DADC26C6FF29B9C9E9AD2FFC1F4312FD64771
CONFIGURE_COMMAND <SOURCE_DIR>/configure --enable-sse --prefix <INSTALL_DIR>
CONFIGURE_COMMAND <SOURCE_DIR>/configure --enable-sse --with-pic --prefix <INSTALL_DIR>
)
elseif (UNIX)
set(USE_HOST_CONFIG OFF)
Expand All @@ -62,6 +62,7 @@ if (NOT ${USE_SYSTEM_SPEEX})
GIT_SHALLOW false
CONFIGURE_COMMAND <SOURCE_DIR>/autogen.sh && <SOURCE_DIR>/configure
--prefix <INSTALL_DIR>
--with-pic
$<$<BOOL:${USE_SSE}>:--enable-sse>
$<$<BOOL:${USE_NEON}>:--enable-neon>
$<$<BOOL:${USE_HOST_CONFIG}>:--host=${HOST_CONFIG}>
Expand Down

0 comments on commit 65f2d13

Please sign in to comment.