[llvm-commits] [llvm] r148913 - /llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Rafael Espindola
rafael.espindola at gmail.com
Tue Jan 24 19:39:26 PST 2012
Author: rafael
Date: Tue Jan 24 21:39:26 2012
New Revision: 148913
URL: http://llvm.org/viewvc/llvm-project?rev=148913&view=rev
Log:
-fvisibility-inlines-hidden is a c++ only option.
Thanks to Peter Collingbourne for noticing it.
Modified:
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=148913&r1=148912&r2=148913&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Tue Jan 24 21:39:26 2012
@@ -95,7 +95,6 @@
check_cxx_compiler_flag("-fvisibility-inlines-hidden" SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG)
if( SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility-inlines-hidden")
endif()
endif()
endif()
More information about the llvm-commits
mailing list