aboutsummaryrefslogtreecommitdiff
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorjulie <julielangou@users.noreply.github.com>2011-01-09 19:30:36 +0000
committerjulie <julielangou@users.noreply.github.com>2011-01-09 19:30:36 +0000
commitb7429d4085f9507ce0dbb14a1aa4281431e035be (patch)
treeefe556b988f6ec5b21cfb3c37edd67806c1384c9 /CTestCustom.cmake.in
parentecdfdc8fb0aed72c63559fb680b9039081da6966 (diff)
Suppress a warning from SUN compilers when building exclusively for your native
platform. - Chuck Atkins (Kitware)
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index c008060f..ae3e30d5 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -29,4 +29,8 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
# Harmless warning often seen on IRIX
"WARNING 84 : .*libm.* is not used for resolving any symbol"
+
+ # Warnings caused by sun compilers when building code to only run on your
+ # native platform
+ "xarch=native on this architecture implies -xarch=.*which generates code that does not run"
)