Skip to content

Commit

Permalink
fix: espeak build
Browse files Browse the repository at this point in the history
Based on rhasspy#29
  • Loading branch information
Fedir Zadniprovskyi committed Oct 24, 2024
1 parent 8211d83 commit 8362de8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ if(NOT DEFINED ESPEAK_NG_DIR)
CMAKE_ARGS -DUSE_SPEECHPLAYER:BOOL=OFF
CMAKE_ARGS -DEXTRA_cmn:BOOL=ON
CMAKE_ARGS -DEXTRA_ru:BOOL=ON
CMAKE_ARGS -DCMAKE_C_FLAGS="-D_FILE_OFFSET_BITS=64"
CMAKE_ARGS -DCMAKE_C_FLAGS="-D_FILE_OFFSET_BITS=64 -fPIC"
CMAKE_ARGS -DCMAKE_CXX_FLAGS="-fPIC"
CMAKE_ARGS -DCMAKE_POSITION_INDEPENDENT_CODE=ON
)
add_dependencies(piper_phonemize espeak_ng_external)
endif()
Expand Down

0 comments on commit 8362de8

Please sign in to comment.