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}