diff --git a/pkg.info b/pkg.info index 7e7272b..6ed872c 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: binutils description: The GNU Binutils are a collection of binary tools version: 2.45.1 -revision: 1 +revision: 2 url: https://www.gnu.org/software/binutils/ license: GPL3-or-later architecture: any diff --git a/source.sh b/source.sh index de5f019..fb48fe5 100644 --- a/source.sh +++ b/source.sh @@ -9,6 +9,7 @@ build() { cd build ../configure --prefix=/usr \ + --sysconfdir=/etc \ --with-lib-path=/usr/lib:/usr/local/lib \ --enable-cet \ --enable-colored-disassembly \ @@ -39,13 +40,13 @@ build() { # The check function is executed in the source directory # This function is used to run tests to verify the package has been compiled correctly check() { -cd build + cd build - make -O CFLAGS_FOR_TARGET="-O2 -g" \ - CXXFLAGS="-O2 -no-pie -fno-PIC" \ - CFLAGS="-O2 -no-pie" \ - LDFLAGS="" \ - check || true + make -O CFLAGS_FOR_TARGET="-O2 -g" \ + CXXFLAGS="-O2 -no-pie -fno-PIC" \ + CFLAGS="-O2 -no-pie" \ + LDFLAGS="" \ + check || true } # The package function is executed in the source directory