Skip to content

Commit

Permalink
libarchive: Suppress PathScale compiler warnings
Browse files Browse the repository at this point in the history
We are not developing libarchive so we do not care about warnings.
  • Loading branch information
bradking committed Jan 4, 2012
1 parent 2309438 commit 9ccaeb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Utilities/cmlibarchive/CMakeLists.txt
Expand Up @@ -49,6 +49,8 @@ SET(SOVERSION "${INTERFACE_VERSION}")
IF("${CMAKE_C_COMPILER_ID}" MATCHES
"^(GNU|Clang|XL|VisualAge|SunPro|MIPSpro|HP|Intel)$")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
ELSEIF("${CMAKE_C_COMPILER_ID}" MATCHES "^(PathScale)$")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")
ELSEIF(BORLAND)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w-")
ENDIF()
Expand Down

0 comments on commit 9ccaeb1

Please sign in to comment.