############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = binutils version = 2.40 release = 1 maintainer = Michael Tremer groups = Development/Tools url = https://www.gnu.org/software/binutils/ license = GPLv2+ summary = The GNU Binutils are a collection of binary tools description The GNU Binary Utilities, or binutils, is a collection of programming tools for the manipulation of object code in various object file formats. end source_dl = https://ftp.gnu.org/gnu/binutils/ \ https://sourceware.org/pub/binutils/releases/ sources = %{thisapp}.tar.xz build requires bison dejagnu flex gcc-c++ perl texinfo zlib-devel zstd-devel end LDFLAGS += -Wl,--enable-new-dtags prepare_cmds mkdir -pv %{DIR_SRC}/binutils-build end configure_options += \ --build=%{DISTRO_BUILDTARGET} \ --host=%{DISTRO_BUILDTARGET} \ --target=%{DISTRO_BUILDTARGET} \ --disable-werror \ --disable-static \ --enable-shared \ --enable-64-bit-bfd \ --enable-plugins \ --with-bugurl="https://bugzilla.ipfire.org/" \ --enable-relro=yes \ --enable-ld \ --disable-gold \ --enable-lto \ --with-system-zlib \ --enable-new-dtags \ --disable-rpath \ --enable-separate-code build cd %{DIR_SRC}/binutils-build ../%{thisapp}/configure \ %{configure_options} make tooldir=/usr %{PARALLELISMFLAGS} end test cd %{DIR_SRC}/binutils-build make -k check