File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,11 @@ add_clang_library(clang-cpp
4848 ${_OBJECTS}
4949 LINK_LIBS
5050 ${_DEPS} )
51- # AIX linker does not support version script
52- if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "AIX" )
53- configure_file (simple_version_script.map.in simple_version_script.map)
5451
55- if (CMAKE_SYSTEM_NAME STREQUAL "Linux" )
56- target_link_options (clang-cpp PRIVATE LINKER:--version -script,${CMAKE_CURRENT_BINARY_DIR} /simple_version_script.map)
57- endif ()
52+ configure_file (simple_version_script.map.in simple_version_script.map)
53+
54+ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" )
55+ target_link_options (clang-cpp PRIVATE LINKER:--version -script,${CMAKE_CURRENT_BINARY_DIR} /simple_version_script.map)
5856endif ()
5957
6058# Optimize function calls for default visibility definitions to avoid PLT and
You can’t perform that action at this time.
0 commit comments