]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Add a hack to fix libcrypto dependency for Solaris.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 20 Jun 2013 14:15:57 +0000 (15:15 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 20 Jun 2013 14:15:57 +0000 (15:15 +0100)
CMakeLists.txt

index 53b9dc531e551ff8145cf9864ee1c4437a51f6d8..fa83ad86661864ef15ac1053a444d6aeca0ffe59 100644 (file)
@@ -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")