mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-20 02:30:05 +02:00
* libwebm: use cmake for build * libwebm: revbump for missing headers (switch to cmake for this) Drop tools/sample binaries
23 lines
630 B
Plaintext
23 lines
630 B
Plaintext
From cee4739417b3e0a0ca84ded6806540f37706df77 Mon Sep 17 00:00:00 2001
|
|
From: Luc Schrijvers <begasus@gmail.com>
|
|
Date: Fri, 22 Aug 2025 11:02:23 +0200
|
|
Subject: Disable CMAKE_POSITION_INDEPENDENT_CODE
|
|
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 19852cd..e41efd6 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -12,7 +12,7 @@ include(GNUInstallDirs)
|
|
include("${CMAKE_CURRENT_SOURCE_DIR}/build/cxx_flags.cmake")
|
|
|
|
if(BUILD_SHARED_LIBS)
|
|
- set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
+ set(CMAKE_POSITION_INDEPENDENT_CODE OFF)
|
|
else()
|
|
include("${CMAKE_CURRENT_SOURCE_DIR}/build/msvc_runtime.cmake")
|
|
endif()
|
|
--
|
|
2.50.1
|
|
|