diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-20 15:15:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-20 15:15:57 +0100 |
commit | a2b3adbcd3dcd61f7117d98bad3b0b270fb96c7a (patch) | |
tree | fcfa152f72bc269a78396cdf6a2a462d683fe3f0 /CMakeLists.txt | |
parent | cc379455b9af020d4a3d16885da92289dc15d458 (diff) | |
download | rspamd-a2b3adbcd3dcd61f7117d98bad3b0b270fb96c7a.tar.gz rspamd-a2b3adbcd3dcd61f7117d98bad3b0b270fb96c7a.zip |
Add a hack to fix libcrypto dependency for Solaris.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 53b9dc531..fa83ad866 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -269,9 +269,9 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "SunOS") ENDIF(NOT BUILD_CPU_MODE) IF("${CMAKE_C_COMPILER_ID}" MATCHES SunPro) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Xa -xregs=no%frameptr -xstrconst -xc99") - set(SUN_BUILD32 "-xtarget=generic") - set(SUN_BUILD64 "-xtagret=generic64") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Xa -xregs=no%frameptr -xstrconst -xc99") + SET(SUN_BUILD32 "-xtarget=generic") + SET(SUN_BUILD64 "-xtarget=generic64") IF(ENABLE_OPTIMIZATION MATCHES "ON") SET(CMAKE_C_OPT_FLAGS "-fast -xdepend") ELSE(ENABLE_OPTIMIZATION MATCHES "ON") |