1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Kentaro Hayashi <hayashi@clear-code.com>
Date: Sun, 7 Sep 2025 20:31:33 +0900
Subject: Disable PIE explicitly because it conflicts with shared libraries
under display/* when hardening=+all is enabled.
Forwarded: no
---
plugins/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 7fc230b..a03584d 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -1,6 +1,7 @@
noinst_LIBRARIES = libgolplug.a
libgolplug_a_SOURCES = memfile.c memfile.h from_url.c from_url.h
-libgolplug_a_CFLAGS = $(GTK2_CFLAGS) $(LIBCURL_CFLAGS) -fPIC -I$(srcdir)/..
+libgolplug_a_CFLAGS = $(GTK2_CFLAGS) $(LIBCURL_CFLAGS) -fno-pie -fPIC -I$(srcdir)/..
#libgolplug_a_LIBADD = $(GTK2_LIBS) $(LIBCURL_LIBS)
+libgolplug_a_LDFLAGS = -no-pie
EXTRA_DIST = Makefile.w32
|