Files
conan-build/recipes/libcap/all/patches/2.57/0001-libcap-Remove-hardcoded-fPIC.patch
2024-12-25 17:47:28 +03:00

28 lines
712 B
Diff

From b70454fccba1816b14d50813b1715e9a50d7cca0 Mon Sep 17 00:00:00 2001
From: Sergey Bobrenok <bobrofon@gmail.com>
Date: Sat, 11 Sep 2021 20:39:49 +0300
Subject: [PATCH 1/2] libcap: Remove hardcoded -fPIC
Signed-off-by: Sergey Bobrenok <bobrofon@gmail.com>
---
libcap/Makefile | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libcap/Makefile b/libcap/Makefile
index 7706063..1b52eb9 100644
--- a/libcap/Makefile
+++ b/libcap/Makefile
@@ -18,9 +18,6 @@ CAPMAGICOBJ=cap_magic.o
PSXFILES=../psx/psx
PSXMAGICOBJ=psx_magic.o
-# Always build libcap sources this way:
-CFLAGS += -fPIC
-
# The linker magic needed to build a dynamic library as independently
# executable
MAGIC=-Wl,-e,__so_start
--
2.31.1