forked from pool/iputils
Accepting request 879520 from home:elvigia:branches:network:utilities
- Binaries were found to be not optimized or built with proper %optflags. OBS-URL: https://build.opensuse.org/request/show/879520 OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=94
This commit is contained in:
parent
4ed924aac8
commit
9da21027b5
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 16 22:21:46 UTC 2021 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
||||
|
||||
- Binaries were found to be not optimized or built
|
||||
with proper %optflags.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 2 08:32:14 UTC 2021 - Petr Vorel <pvorel@suse.cz>
|
||||
|
||||
|
11
iputils.spec
11
iputils.spec
@ -62,17 +62,10 @@ out their IP addresses.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
# Export CFLAGS so we can also benefit from the ones the Makefile sets for us
|
||||
# Instead of overriding all of them.
|
||||
%ifarch s390 s390x
|
||||
export CFLAGS="-fPIE"
|
||||
%else
|
||||
export CFLAGS="-fpie"
|
||||
%endif
|
||||
# Pulled-in by the LINK.o variable.
|
||||
export LDFLAGS="-pie -Wl,-z,relro,-z,now"
|
||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||
|
||||
%meson -DBUILD_NINFOD=false -DBUILD_TFTPD=false -DBUILD_RARPD=true -DNO_SETCAP_OR_SUID=true
|
||||
%meson -DBUILD_NINFOD=false -DBUILD_TFTPD=false -DBUILD_RARPD=true -DNO_SETCAP_OR_SUID=true -Db_pie=true -Dc_std=none
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user