[arch-commits] Commit in arm-none-eabi-newlib/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Tue May 29 14:21:28 UTC 2018
Date: Tuesday, May 29, 2018 @ 14:21:26
Author: anatolik
Revision: 333176
upgpkg: arm-none-eabi-newlib 3.0.0.20180226-2
FS#50481 add nano.spec specific newlib.h header file
Modified:
arm-none-eabi-newlib/trunk/PKGBUILD
----------+
PKGBUILD | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-29 12:43:01 UTC (rev 333175)
+++ PKGBUILD 2018-05-29 14:21:26 UTC (rev 333176)
@@ -4,7 +4,7 @@
_target=arm-none-eabi
pkgname=$_target-newlib
pkgver=3.0.0.20180226
-pkgrel=1
+pkgrel=2
_upstream_ver=$pkgver
pkgdesc='A C standard library implementation intended for use on embedded systems (ARM bare metal)'
arch=(any)
@@ -53,6 +53,8 @@
cd "$srcdir"/build-nano
make DESTDIR="$pkgdir" install -j1
find "$pkgdir" -regex ".*/lib\(c\|g\|rdimon\)\.a" -exec rename .a _nano.a '{}' \;
+ install -d "$pkgdir"/usr/$_target/include/newlib-nano
+ install -m644 -t "$pkgdir"/usr/$_target/include/newlib-nano "$pkgdir"/usr/$_target/include/newlib.h
cd "$srcdir"/build-newlib
make DESTDIR="$pkgdir" install -j1
More information about the arch-commits
mailing list