Dominique Leuenberger 2014-11-24 10:17:29 +00:00 committed by Git OBS Bridge
commit 2f9a3e0afb
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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}