blob: c47c787c711e08e3a13542f0b390ff4bdd181564 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-cmake_os_SunOS.cmake,v 1.2 2022/11/02 17:02:10 jperkin Exp $
Disable a whole bunch of broken SunOS detection.
--- cmake/os/SunOS.cmake.orig 2022-09-13 16:15:16.000000000 +0000
+++ cmake/os/SunOS.cmake
@@ -25,6 +25,7 @@ INCLUDE(CheckCSourceRuns)
INCLUDE(CheckCSourceCompiles)
INCLUDE(CheckCXXSourceCompiles)
+IF(0)
IF(CMAKE_SYSTEM_PROCESSOR MATCHES "sparc")
SET(SOLARIS_SPARC 1)
ELSE()
@@ -60,6 +61,7 @@ IF(NOT FORCE_UNSUPPORTED_COMPILER)
MESSAGE(FATAL_ERROR "Unsupported compiler!")
ENDIF()
ENDIF()
+ENDIF()
# Enable 64 bit file offsets
ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
|