KWSys 2014-03-06 (9c653603)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 9c653603 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' b1916e0a..9c653603 Brad King (1): 9c653603 Process: Suppress IBM XL warning about infinite loop in test Change-Id: I3a1f36707bcfff0f34e0176528d9c792384ac8c5
This commit is contained in:
parent
f096786d54
commit
c236691b32
|
@ -1225,6 +1225,9 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
|
||||||
# Some Apple compilers produce bad optimizations in this source.
|
# Some Apple compilers produce bad optimizations in this source.
|
||||||
IF(APPLE AND "${CMAKE_C_COMPILER_ID}" MATCHES "^(GNU|LLVM)$")
|
IF(APPLE AND "${CMAKE_C_COMPILER_ID}" MATCHES "^(GNU|LLVM)$")
|
||||||
SET_SOURCE_FILES_PROPERTIES(testProcess.c PROPERTIES COMPILE_FLAGS -O0)
|
SET_SOURCE_FILES_PROPERTIES(testProcess.c PROPERTIES COMPILE_FLAGS -O0)
|
||||||
|
ELSEIF(CMAKE_C_COMPILER_ID STREQUAL "XL")
|
||||||
|
# Tell IBM XL not to warn about our test infinite loop
|
||||||
|
SET_PROPERTY(SOURCE testProcess.c PROPERTY COMPILE_FLAGS -qsuppress=1500-010)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# Test SharedForward
|
# Test SharedForward
|
||||||
|
|
Loading…
Reference in New Issue