summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebRmv2015-06-07 09:21:27 +0200
committerSebRmv2015-06-07 09:21:27 +0200
commit2971e036a80738797d42315257d3bdb6388e1a08 (patch)
treeba5493b98384277cfcebcfc6a74f3f44349dcda4
parent40e8639f1ad63489ee416ecb7546e69104af4c4b (diff)
downloadaur-2971e036a80738797d42315257d3bdb6388e1a08.tar.gz
Fix compilation by disabing warning on unused values.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 766a2b722af..e1b8ca2accd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = m68k-atari-mint-binutils
pkgdesc = A set of programs to assemble and manipulate binary and object files for the M68K architecture
pkgver = 2.23.2
- pkgrel = 4
+ pkgrel = 5
url = http://www.gnu.org/software/binutils/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index eafac9948f0..c9fde6787cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=m68k-atari-mint-binutils
_pkgname=binutils
_target="m68k-atari-mint"
pkgver=2.23.2
-pkgrel=4
+pkgrel=5
pkgdesc="A set of programs to assemble and manipulate binary and object files for the M68K architecture"
url="http://www.gnu.org/software/binutils/"
arch=('i686' 'x86_64')
@@ -28,6 +28,7 @@ build() {
cd ${srcdir}/${_pkgname}-${pkgver}
CFLAGS=${CFLAGS//-D_FORTIFY_SOURCE=?/}
+ CFLAGS="${CFLAGS} -Wno-unused-value"
export CFLAGS
CPPFLAGS=${CPPFLAGS//-D_FORTIFY_SOURCE=?/}