SHA256
1
0
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:
Dominique Leuenberger 2021-03-21 22:18:47 +00:00 committed by Git OBS Bridge
commit 727660aaa6
2 changed files with 8 additions and 9 deletions

View File

@ -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>

View File

@ -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