forked from pool/iputils
Accepting request 879744 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/879744 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=58
This commit is contained in:
commit
727660aaa6
@ -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