[tigervnc] Build with -fPIC to fix FTBFS on ARM

Peter Robinson pbrobinson at fedoraproject.org
Wed Nov 7 16:21:26 UTC 2012


commit ca553e0860b5b7e739bf71f4211677f18372069d
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Wed Nov 7 16:21:14 2012 +0000

    Build with -fPIC to fix FTBFS on ARM

 tigervnc.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/tigervnc.spec b/tigervnc.spec
index 69325d3..b389fc7 100644
--- a/tigervnc.spec
+++ b/tigervnc.spec
@@ -2,7 +2,7 @@
 
 Name:		tigervnc
 Version:	1.2.80
-Release:	0.3.%{snap}%{?dist}
+Release:	0.4.%{snap}%{?dist}
 Summary:	A TigerVNC remote display system
 
 Group:		User Interface/Desktops
@@ -139,7 +139,7 @@ popd
 %patch14 -p1 -b .glx
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="$RPM_OPT_FLAGS -fPIC"
 export CXXFLAGS="$CFLAGS"
 
 %{cmake} .
@@ -288,6 +288,9 @@ fi
 %doc LICENCE.TXT
 
 %changelog
+* Wed Nov  7 2012 Peter Robinson <pbrobinson at fedoraproject.org> 1.2.80-0.4.20120905svn4996
+- Build with -fPIC to fix FTBFS on ARM
+
 * Wed Oct 31 2012 Adam Jackson <ajax at redhat.com> 1.2.80-0.3.20120905svn4996
 - tigervnc12-xorg113-glx.patch: Fix to only init glx on the first server
   generation


More information about the scm-commits mailing list