forked from pool/cmake
- Remove PIE from macro
- Remove PIE from macros OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=255
This commit is contained in:
committed by
Git OBS Bridge
parent
ebbf5c10a8
commit
cc2d407a76
@@ -81,9 +81,6 @@ echo "`grep cmake-%{version}.tar.gz %{SOURCE5} | grep -Eo '^[0-9a-f]+'` %{SOURC
|
||||
|
||||
%build
|
||||
EXTRA_FLAGS="--qt-gui"
|
||||
export CXXFLAGS="%{optflags} -fPIE"
|
||||
export CFLAGS="%{optflags} -fPIE"
|
||||
export LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -pie"
|
||||
# FIXME: you should use the %%configure macro
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
|
Reference in New Issue
Block a user