summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-21 17:52:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-21 17:52:54 (GMT)
commit9a6c95fcea52bd1b5b4930fdac0a48088e55273b (patch)
tree25daf13b3701dcedcd1210e79dfcae42946a6043 /Modules/Platform
parentb8a1b1e9e7adcc69d26d6fefaf6da059580afdba (diff)
downloadCMake-9a6c95fcea52bd1b5b4930fdac0a48088e55273b.zip
CMake-9a6c95fcea52bd1b5b4930fdac0a48088e55273b.tar.gz
CMake-9a6c95fcea52bd1b5b4930fdac0a48088e55273b.tar.bz2
add checks for ansi flags and not hard code them
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/IRIX64.cmake1
-rw-r--r--Modules/Platform/OSF1.cmake3
2 files changed, 0 insertions, 4 deletions
diff --git a/Modules/Platform/IRIX64.cmake b/Modules/Platform/IRIX64.cmake
index 0caf9ab..8f78f02 100644
--- a/Modules/Platform/IRIX64.cmake
+++ b/Modules/Platform/IRIX64.cmake
@@ -6,7 +6,6 @@ SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP "") # : or empty
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_CXX_CREATE_STATIC_LIBRARY
"<CMAKE_CXX_COMPILER> -ar -o <TARGET> <OBJECTS>")
- SET(CMAKE_ANSI_CXXFLAGS -LANG:std)
SET (CMAKE_CXX_FLAGS_INIT "")
SET (CMAKE_CXX_FLAGS_DEBUG_INIT "-g")
SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O3")
diff --git a/Modules/Platform/OSF1.cmake b/Modules/Platform/OSF1.cmake
index 188045e..08be310 100644
--- a/Modules/Platform/OSF1.cmake
+++ b/Modules/Platform/OSF1.cmake
@@ -21,6 +21,3 @@ IF(CMAKE_SYSTEM MATCHES "OSF1-V.*")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP ":")
ENDIF(CMAKE_SYSTEM MATCHES "OSF1-V.*")
-IF(NOT CMAKE_COMPILER_IS_GNUCXX)
- SET(CMAKE_ANSI_CXXFLAGS "-std strict_ansi -nopure_cname")
-ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)