We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55e73af commit 08320b8Copy full SHA for 08320b8
third_party/CMakeLists.txt
@@ -1,5 +1,7 @@
1
set(TORCHAUDIO_THIRD_PARTIES "")
2
3
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
4
+
5
################################################################################
6
# sox
7
third_party/sox/CMakeLists.txt
@@ -11,7 +11,7 @@ set(COMMON_ARGS --quiet --disable-shared --enable-static --prefix=${INSTALL_DIR}
11
set(envs
12
"PKG_CONFIG_PATH=${INSTALL_DIR}/lib/pkgconfig"
13
"LDFLAGS=-L${INSTALL_DIR}/lib $ENV{LDFLAGS}"
14
- "CPPFLAGS=-I${INSTALL_DIR}/include $ENV{CPPFLAGS}"
+ "CFLAGS=-I${INSTALL_DIR}/include -fvisibility=hidden $ENV{CFLAGS}"
15
)
16
17
ExternalProject_Add(mad
0 commit comments