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
This commit is contained in:
Stefan Dirsch 2014-11-17 10:17:50 +00:00 committed by Git OBS Bridge
parent ec61b7e734
commit 4aa15ef254
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}