From aaae40c010c98a059101148ab097b7e86921ac4be3a9590ba638843ca8be25d4 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 3 Apr 2017 06:22:44 +0000 Subject: [PATCH] Accepting request 484476 from home:msmeissn:branches:editors - also pass "-no-pie" as linkerflag to disable PIE. OBS-URL: https://build.opensuse.org/request/show/484476 OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=222 --- emacs.changes | 5 +++++ emacs.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/emacs.changes b/emacs.changes index 33ab69d..db75199 100644 --- a/emacs.changes +++ b/emacs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 2 16:49:35 UTC 2017 - meissner@suse.com + +- also pass "-no-pie" as linkerflag to disable PIE. + ------------------------------------------------------------------- Sat Mar 11 09:02:26 CET 2017 - kukuk@suse.de diff --git a/emacs.spec b/emacs.spec index de56a71..5119868 100644 --- a/emacs.spec +++ b/emacs.spec @@ -323,7 +323,7 @@ VERSION=%{version} " %endif CFLAGS="${RPM_OPT_FLAGS} -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS" -LDFLAGS= +LDFLAGS="-no-pie" cflags -pipe CFLAGS cflags -Wno-pointer-sign CFLAGS cflags -Wno-unused-variable CFLAGS