5
Last change
on this file since f07d2b6 was
f07d2b6,
checked in by Sebastian Huber <sebastian.huber@…>, on 10/24/18 at 12:03:54
|
5: Update Newlib
Fix posix_memalign() attributes.
Use -fdata-sections and -ffunction-sections to build Newlib.
|
-
Property mode set to
100644
|
File size:
1.7 KB
|
Rev | Line | |
---|
[f07d2b6] | 1 | %include %{_configdir}/checks.cfg |
---|
| 2 | %include %{_configdir}/base.cfg |
---|
| 3 | |
---|
| 4 | # |
---|
| 5 | # FreeBSD specific fix for MIPS |
---|
| 6 | # |
---|
| 7 | %if %{_build_os} == freebsd || %{_build_os} == darwin |
---|
| 8 | %patch add gcc --rsb-file=freebsd-libgcc-sed-fix.patch -p0 https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380 |
---|
| 9 | %hash sha256 freebsd-libgcc-sed-fix.patch 8a11bd619c2e55466688e328da00b387d02395c1e8ff4a99225152387a1e60a4 |
---|
| 10 | %endif |
---|
| 11 | |
---|
| 12 | %define gcc_version 7.3.0 |
---|
| 13 | %hash sha512 gcc-%{gcc_version}.tar.xz ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19c19921b0cdf6d05483faede8287bb9ea120c0d1559449a70e602c8d4 |
---|
| 14 | |
---|
| 15 | %define newlib_version 08eab6396f678cf5e5968acaed0bae9fd129983b |
---|
| 16 | %define newlib_external 1 |
---|
| 17 | %define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version} |
---|
| 18 | %source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version} |
---|
| 19 | %hash sha512 newlib-%{newlib_version}.tar.gz c156de6e120ffa9f96c0ce9ea6fa84444d4be9ac12a5ce3b14bc9acbae9a882f49b055d1150dfa89fa50d9749e8da608694ca4ce24c43326e274a044ecdbd66c |
---|
| 20 | |
---|
| 21 | %define mpfr_version 3.1.4 |
---|
| 22 | %hash sha512 mpfr-%{mpfr_version}.tar.bz2 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819 |
---|
| 23 | |
---|
| 24 | %define mpc_version 1.0.3 |
---|
| 25 | %hash sha512 mpc-%{mpc_version}.tar.gz 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43 |
---|
| 26 | |
---|
| 27 | %define gmp_version 6.1.0 |
---|
| 28 | %hash sha512 gmp-%{gmp_version}.tar.bz2 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117 |
---|
| 29 | |
---|
| 30 | %define with_threads 1 |
---|
| 31 | %define with_plugin 0 |
---|
| 32 | %define with_iconv 1 |
---|
| 33 | |
---|
| 34 | %include %{_configdir}/gcc-7.2-1.cfg |
---|
Note: See
TracBrowser
for help on using the repository browser.