From 02df43293ef5461c1f3b0304df9bdd30083a8dbfa3d0ffed33f28e7cd039a1c6 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Fri, 2 Jun 2017 11:00:40 +0000 Subject: [PATCH] Accepting request 500590 from home:msmeissn:branches:X11:XOrg - removed unneeded -fPIC flags for CFLAGS, these made it avoid PIE support. OBS-URL: https://build.opensuse.org/request/show/500590 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=109 --- tigervnc.changes | 6 ++++++ tigervnc.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tigervnc.changes b/tigervnc.changes index d995cc1..21e77a4 100644 --- a/tigervnc.changes +++ b/tigervnc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 2 10:02:06 UTC 2017 - meissner@suse.com + +- removed unneeded -fPIC flags for CFLAGS, these made it avoid + PIE support. + ------------------------------------------------------------------- Wed May 31 11:33:52 UTC 2017 - msrb@suse.com diff --git a/tigervnc.spec b/tigervnc.spec index d24c97b..ddf2746 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -184,8 +184,8 @@ patch -p1 < ../xserver119.patch popd %build -export CXXFLAGS="%optflags -fPIC" -export CFLAGS="%optflags -fPIC" +export CXXFLAGS="%optflags" +export CFLAGS="%optflags" # Build all tigervnc cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TIMESTAMP="??-??-?? ??:??" make %{?_smp_mflags}