mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
From d5f36e8fc4f110ecf1b43972b492dc614a56899f Mon Sep 17 00:00:00 2001
|
|
From: Begasus <begasus@gmail.com>
|
|
Date: Sat, 2 Sep 2023 18:12:29 +0200
|
|
Subject: Add Haiku to supported platforms
|
|
|
|
|
|
diff --git a/src/glog/platform.h b/src/glog/platform.h
|
|
index e614411..a97b9f2 100644
|
|
--- a/src/glog/platform.h
|
|
+++ b/src/glog/platform.h
|
|
@@ -50,6 +50,8 @@
|
|
#define GLOG_OS_NETBSD
|
|
#elif defined(__OpenBSD__)
|
|
#define GLOG_OS_OPENBSD
|
|
+#elif defined(__HAIKU__)
|
|
+#define GLOG_OS_HAIKU
|
|
#else
|
|
// TODO(hamaji): Add other platforms.
|
|
#error Platform not supported by glog. Please consider to contribute platform information by submitting a pull request on Github.
|
|
--
|
|
2.37.3
|
|
|
|
|
|
From aa7460fd9969e09df9e98bdd71ed73da5a002359 Mon Sep 17 00:00:00 2001
|
|
From: Begasus <begasus@gmail.com>
|
|
Date: Sat, 2 Sep 2023 18:37:03 +0200
|
|
Subject: Don't set CMAKE_POSITION_INDEPENDENT_CODE to ON
|
|
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 846b444..08bb9c8 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -62,7 +62,7 @@ endif (NOT WITH_THREADS)
|
|
|
|
set (CMAKE_C_VISIBILITY_PRESET hidden)
|
|
set (CMAKE_CXX_VISIBILITY_PRESET hidden)
|
|
-set (CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
+set (CMAKE_POSITION_INDEPENDENT_CODE OFF)
|
|
set (CMAKE_VISIBILITY_INLINES_HIDDEN ON)
|
|
|
|
set (CMAKE_DEBUG_POSTFIX d)
|
|
--
|
|
2.37.3
|
|
|