summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Eriksson2021-06-10 19:19:16 +0200
committerSimon Eriksson2021-06-10 19:19:16 +0200
commitb2f6d6a08b75d57e722e4d33790e3a747c445f21 (patch)
tree91dc9331dbbacdc6a91775429ab572a4284516cf
parent7c16a040d1f4e044bc001c8396f7e725c0d69af9 (diff)
downloadaur-mips64-elf-newlib.tar.gz
-DHAVE_ASSERT_FUNC to target CFLAGS
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 204ce02964a..b74c8cd0ef3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mips64-elf-newlib
pkgdesc = A C library intended for use on embedded systems (mips64-elf)
pkgver = 4.1.0
- pkgrel = 1
+ pkgrel = 2
url = http://sourceware.org/newlib/
arch = any
license = BSD
@@ -12,4 +12,3 @@ pkgbase = mips64-elf-newlib
sha256sums = f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154
pkgname = mips64-elf-newlib
-
diff --git a/PKGBUILD b/PKGBUILD
index a428596cf83..7437157dae7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_target=mips64-elf
pkgname=${_target}-newlib
pkgver=4.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="A C library intended for use on embedded systems (${_target})"
arch=('any')
url='http://sourceware.org/newlib/'
@@ -19,7 +19,7 @@ build()
rm -rf build
mkdir build && cd build
- export CFLAGS_FOR_TARGET='-G0 -O2 -fcommon -ffunction-sections -fdata-sections -fomit-frame-pointer'
+ export CFLAGS_FOR_TARGET='-G0 -O2 -fcommon -ffunction-sections -fdata-sections -fomit-frame-pointer -DHAVE_ASSERT_FUNC'
../newlib-${pkgver}/configure \
--prefix=/usr \