diff --git a/recipes/incoming-clib/iproute2.toml b/recipes/incoming-clib/iproute2.toml index 13ebb0aa..08d144de 100644 --- a/recipes/incoming-clib/iproute2.toml +++ b/recipes/incoming-clib/iproute2.toml @@ -20,8 +20,10 @@ flags = [] # de build() de Alpine (traducido; el lab provee $CBUILD/$CHOST — Etapa G Fase 3; revisá --shared para estático): compile = ''' _abuild_phase() { -export CFLAGS="$CFLAGS -flto=auto" - make V=1 + # iproute2 usa ./configure propio; autodetecta libmnl/libelf/libcap y las + # desactiva si faltan. Sin netfilter/xtables (iptables no está en catálogo). + ./configure || true + make V=1 HAVE_MNL=n HAVE_ELF=n HAVE_CAP=n HAVE_SELINUX=n } _abuild_phase ''' @@ -37,4 +39,4 @@ _abuild_phase ''' [deps] -build = ["bash", "bison", "elfutils", "flex", "iptables", "libcap", "libmnl"] +build = ["linux-headers", "bison", "flex"]