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