From dc0745f5bff0fe26d4e6b01b072e36ba7e24c2c4b04426d3c271a4719cdbaac2 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 17 Nov 2014 10:17:50 +0000 Subject: [PATCH] Accepting request 261881 from home:ocurero:branches:X11:XOrg fix for armv7l OBS-URL: https://build.opensuse.org/request/show/261881 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=44 --- tigervnc.changes | 5 +++++ tigervnc.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tigervnc.changes b/tigervnc.changes index ee39df1..6f4a647 100644 --- a/tigervnc.changes +++ b/tigervnc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 16 09:33:04 UTC 2014 - oscar@naiandei.net + +- add -fPIC to CFLAGS and CXXFLAGS to compile correctly on armv7l + ------------------------------------------------------------------- Thu Oct 30 13:33:27 UTC 2014 - msrb@suse.com diff --git a/tigervnc.spec b/tigervnc.spec index 1a47147..07cafad 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -170,8 +170,8 @@ patch -p1 < ../xserver114.patch popd %build -export CXXFLAGS="%optflags" -export CFLAGS="%optflags" +export CXXFLAGS="%optflags -fPIC" +export CFLAGS="%optflags -fPIC" # Build all tigervnc cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo make %{?_smp_mflags}