Accepting request 315592 from home:vitezslav_cizek:branches:server:http
- build with pie and full relro OBS-URL: https://build.opensuse.org/request/show/315592 OBS-URL: https://build.opensuse.org/package/show/server:http/thttpd?expand=0&rev=32
This commit is contained in:
parent
9542aab497
commit
bee2df2210
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 5 09:43:36 UTC 2015 - vcizek@suse.com
|
||||
|
||||
- build with pie and full relro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 18 15:07:51 UTC 2015 - thehejik@suse.com
|
||||
|
||||
|
11
thttpd.spec
11
thttpd.spec
@ -98,14 +98,11 @@ mv aclocal.m4 acinclude.m4
|
||||
libtoolize --force
|
||||
aclocal --force
|
||||
autoconf -f
|
||||
export V_CCOPT="%{optflags}"
|
||||
export CFLAGS="%{optflags}"
|
||||
export V_CCOPT="%{optflags} -fPIC -DPIC -fPIE"
|
||||
export CFLAGS="%{optflags} -fPIC -DPIC -fPIE"
|
||||
export LDFLAGS="-pie -Wl,-z,relro,-z,now"
|
||||
%configure
|
||||
%ifarch s390 s390x
|
||||
make F_PIE="-fPIE" -j1
|
||||
%else
|
||||
make F_PIE="-fpie" -j1
|
||||
%endif
|
||||
make
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{_bindir} \
|
||||
|
Loading…
Reference in New Issue
Block a user