summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/IRIX64.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-27 19:31:09 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-27 19:31:09 (GMT)
commite840a9dff31ef7682e698f78edc5c9e06f79834c (patch)
tree66b95ef2f75a74974eedc0664d1f2efcc9579a3a /Modules/Platform/IRIX64.cmake
parent883931056f8b8d11dfdb2fb9f91197b67695ace7 (diff)
downloadCMake-e840a9dff31ef7682e698f78edc5c9e06f79834c.zip
CMake-e840a9dff31ef7682e698f78edc5c9e06f79834c.tar.gz
CMake-e840a9dff31ef7682e698f78edc5c9e06f79834c.tar.bz2
BUG: Apply patch from bug#6445. Add preprocessor definitions to assembly and preprocessing build rules.
Diffstat (limited to 'Modules/Platform/IRIX64.cmake')
-rw-r--r--Modules/Platform/IRIX64.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/Platform/IRIX64.cmake b/Modules/Platform/IRIX64.cmake
index 982619a..d83ca60 100644
--- a/Modules/Platform/IRIX64.cmake
+++ b/Modules/Platform/IRIX64.cmake
@@ -46,17 +46,17 @@ ENDIF(NOT CMAKE_COMPILER_IS_GNUCC)
INCLUDE(Platform/UnixPaths)
IF(NOT CMAKE_COMPILER_IS_GNUCC)
- SET (CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
+ SET (CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
SET (CMAKE_C_CREATE_ASSEMBLY_SOURCE
- "<CMAKE_C_COMPILER> <FLAGS> -S <SOURCE>"
+ "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -S <SOURCE>"
"mv `basename \"<SOURCE>\" | sed 's/\\.[^./]*$$//'`.s <ASSEMBLY_SOURCE>"
)
ENDIF(NOT CMAKE_COMPILER_IS_GNUCC)
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
- SET (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
+ SET (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
SET (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE
- "<CMAKE_CXX_COMPILER> <FLAGS> -S <SOURCE>"
+ "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -S <SOURCE>"
"mv `basename \"<SOURCE>\" | sed 's/\\.[^./]*$$//'`.s <ASSEMBLY_SOURCE>"
)
ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)