File: disable-pie-for-libgolplug.patch

package info (click to toggle)
growl-for-linux 0.8.5-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 3,248 kB
  • ctags: 545
  • sloc: sh: 4,121; ansic: 3,735; makefile: 74
file content (14 lines) | stat: -rw-r--r-- 634 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Kentaro Hayashi <hayashi@clear-code.com>
Description: Disable PIE explicitly because it conflicts with shared libraries under display/* when hardening=+all is enabled.
Forwarded: no
--- 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