SHA256
1
0
forked from pool/tigervnc

Accepting request 500590 from home:msmeissn:branches:X11:XOrg

- removed unneeded -fPIC flags for CFLAGS, these made it avoid
  PIE support.

OBS-URL: https://build.opensuse.org/request/show/500590
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=109
This commit is contained in:
Michal Srb 2017-06-02 11:00:40 +00:00 committed by Git OBS Bridge
parent 3e36489820
commit 02df43293e
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 2 10:02:06 UTC 2017 - meissner@suse.com
- removed unneeded -fPIC flags for CFLAGS, these made it avoid
PIE support.
-------------------------------------------------------------------
Wed May 31 11:33:52 UTC 2017 - msrb@suse.com

View File

@ -184,8 +184,8 @@ patch -p1 < ../xserver119.patch
popd
%build
export CXXFLAGS="%optflags -fPIC"
export CFLAGS="%optflags -fPIC"
export CXXFLAGS="%optflags"
export CFLAGS="%optflags"
# Build all tigervnc
cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TIMESTAMP="??-??-?? ??:??"
make %{?_smp_mflags}