[LIBREPORT PATCH] fixed relro flags rhbz#812283

Jiri Moskovcak jmoskovc at redhat.com
Thu Jun 6 08:34:56 UTC 2013


Signed-off-by: Jiri Moskovcak <jmoskovc at redhat.com>
---
 src/client-python/Makefile.am | 3 ++-
 src/report-python/Makefile.am | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/client-python/Makefile.am b/src/client-python/Makefile.am
index c3ce8c6..67e3b7a 100644
--- a/src/client-python/Makefile.am
+++ b/src/client-python/Makefile.am
@@ -19,7 +19,8 @@ _reportclient_la_CPPFLAGS = \
     $(GLIB_CFLAGS) \
     $(PYTHON_CFLAGS) \
     -D_GNU_SOURCE \
-    -fPIE -Wl,-z,relro,now
+    -fPIE \
+    -Wl,-z,relro -Wl,-z,now
 _reportclient_la_LDFLAGS = \
     -module \
     -avoid-version \
diff --git a/src/report-python/Makefile.am b/src/report-python/Makefile.am
index 5dc0b54..2afdf34 100644
--- a/src/report-python/Makefile.am
+++ b/src/report-python/Makefile.am
@@ -24,7 +24,8 @@ _pyreport_la_CPPFLAGS = \
     $(GLIB_CFLAGS) \
     $(PYTHON_CFLAGS) \
     -D_GNU_SOURCE \
-    -fPIE -Wl,-z,relro,now
+    -fPIE \
+    -Wl,-z,relro -Wl,-z,now
 _pyreport_la_LDFLAGS = \
     -module \
     -avoid-version \
-- 
1.8.2.1



More information about the Crash-catcher mailing list