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
48
48
${_OBJECTS}
49
49
LINK_LIBS
50
50
${_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 )
54
51
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 )
58
56
endif ()
59
57
60
58
# Optimize function calls for default visibility definitions to avoid PLT and
You can’t perform that action at this time.
0 commit comments