do not edit — generated by btf.
git.druid.rocksindexdruid520portsports/build-tools/gnu-binutils/add.sh

ports/build-tools/gnu-binutils/add.sh


set -e
 
git clone --depth 1 https://sourceware.org/git/binutils-gdb.git binutils
cd binutils
mkdir build
cd build
# binutils bundles its own libiberty, which hits the same musl-vs-glibc
# getopt1.c gap gcc's own libiberty does: gcc 14+ defaults
# -Wimplicit-function-declaration to a hard error for c99+, and
# _getopt_internal's declaration gap has apparently never been tested
# against musl upstream. same fix as gcc/add.sh and gnu-m4/add.sh.
../configure --prefix=$MP_PREFIX --disable-gdb --disable-gdbserver --disable-gdbsupport
make CFLAGS="-O2 -g -Wno-implicit-function-declaration" -j$MP_JOBS
make install
make clean || true
powered by btf.