diff options
author | Paweł Stankowski <aambitny@gmail.com> | 2016-03-20 09:42:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-03-21 14:51:50 (GMT) |
commit | 53c0dc2dd2216b7927787e6d819a9a734be2c0eb (patch) | |
tree | 0c84d992128fba6794d04a613c648e503552874f /Modules/CMakeDetermineCCompiler.cmake | |
parent | a9cb00cd50b518656053a5da4147a7106a8bfa78 (diff) | |
download | CMake-53c0dc2dd2216b7927787e6d819a9a734be2c0eb.zip CMake-53c0dc2dd2216b7927787e6d819a9a734be2c0eb.tar.gz CMake-53c0dc2dd2216b7927787e6d819a9a734be2c0eb.tar.bz2 |
Add support for Bruce C Compiler (BCC)
Revise C compiler detection code to be K&R compatible.
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCCompiler.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake index e0b5468..f8c6303 100644 --- a/Modules/CMakeDetermineCCompiler.cmake +++ b/Modules/CMakeDetermineCCompiler.cmake @@ -87,6 +87,9 @@ else() # Try enabling ANSI mode on HP. "-Aa" + + # Try compiling K&R-compatible code (needed by Bruce C Compiler). + "-D__CLASSIC_C__" ) endif() |