summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre-testing/gcc/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/libre-testing/gcc/PKGBUILD b/libre-testing/gcc/PKGBUILD
index 87c3075c6..0991e7b04 100644
--- a/libre-testing/gcc/PKGBUILD
+++ b/libre-testing/gcc/PKGBUILD
@@ -52,7 +52,7 @@ build() {
CFLAGS=${CFLAGS/-pipe/}
CXXFLAGS=${CXXFLAGS/-pipe/}
- ${srcdir}/gcc/configure --prefix=/usr \
+ ${srcdir}/gcc-$pkgver/configure --prefix=/usr \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--mandir=/usr/share/man \
@@ -96,7 +96,7 @@ check() {
# do not abort on error as some are "expected"
make -k check || true
- ${srcdir}/gcc/contrib/test_summary
+ ${srcdir}/gcc-$pkgver/contrib/test_summary
}
@@ -142,7 +142,7 @@ package_gcc-libs()
done
# Install Runtime Library Exception
- install -Dm644 ${srcdir}/gcc/COPYING.RUNTIME \
+ install -Dm644 ${srcdir}/gcc-$pkgver/COPYING.RUNTIME \
${pkgdir}/usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION
}