Commit a9bb24ef authored by Natanael Copa's avatar Natanael Copa
Browse files

main/<various>: build fix for GCC_SPECS

should not include the full path
parent fd641092
......@@ -58,7 +58,7 @@ prepare() {
build() {
cd "$srcdir/$_realname-$_dahdiver"
export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
export GCC_SPECS=hardenednopie.specs
make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \
|| return 1
}
......
......@@ -79,7 +79,7 @@ menuconfig() {
build() {
cd "$srcdir"/build
export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
export GCC_SPECS=hardenednopie.specs
make CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \
|| return 1
......
......@@ -63,7 +63,7 @@ menuconfig() {
build() {
cd "$srcdir"/build
export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
export GCC_SPECS=hardenednopie.specs
make CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \
|| return 1
......
......@@ -71,7 +71,7 @@ menuconfig() {
build() {
cd "$srcdir"/build
export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
export GCC_SPECS=hardenednopie.specs
make CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \
|| return 1
......
......@@ -78,7 +78,7 @@ menuconfig() {
build() {
cd "$srcdir"/build
export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
export GCC_SPECS=hardenednopie.specs
make CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \
|| return 1
......
......@@ -67,7 +67,7 @@ menuconfig() {
build() {
cd "$srcdir"/build
export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
export GCC_SPECS=hardenednopie.specs
make CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \
|| return 1
......
......@@ -30,7 +30,7 @@ prepare() {
build() {
cd "$_builddir"
export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
export GCC_SPECS=hardenednopie.specs
./configure --prefix=/usr \
--disable-gui \
--disable-gif \
......
......@@ -58,7 +58,7 @@ prepare() {
}
build() {
export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
export GCC_SPECS=hardenednopie.specs
cd "$_builddir"
./configure --without-pam \
--without-x \
......
......@@ -45,7 +45,7 @@ build() {
--with-kbuild=/usr/src/linux-headers-${_abi_release}
cd extensions
export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
export GCC_SPECS=hardenednopie.specs
make CC="${CC:-gcc}" modules || return 1
}
......
......@@ -27,7 +27,7 @@ build ()
cd "$srcdir"/${pkgname}_${pkgver%.*}_${pkgver#*.}/src
aclocal && autoconf || return 1
export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
export GCC_SPECS=hardenednopie.specs
./configure --prefix=/usr \
--mandir=/usr/share/man \
x_libraries=/usr/lib \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment