Commit aae48740 authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Disable unused command line argument warnings on clang (CORALCOOL-2871)


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@19926 4525493e-7705-40b1-a816-d608a930855b
parent 7ad46ff2
......@@ -23,8 +23,10 @@ IF(CMAKE_HOST_SYSTEM_NAME MATCHES "Darwin")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
ELSEIF(BINARY_TAG MATCHES "clang35") # See CORALCOOL-2821
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --gcc-toolchain=/cvmfs/sft.cern.ch/lcg/releases/gcc/4.9.1/x86_64-slc6") # cvmfs instead of AFS, see CORALCOOL-2855
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Qunused-arguments") # CORALCOOL-2871
ELSEIF(BINARY_TAG MATCHES "clang37") # See CORALCOOL-2821
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --gcc-toolchain=/cvmfs/sft.cern.ch/lcg/releases/gcc/4.9.3/x86_64-slc6") # cvmfs instead of AFS, see CORALCOOL-2855
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Qunused-arguments") # CORALCOOL-2871
ELSE()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-undefined")
ENDIF()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment