This update was particularly done to fix the armhf support!
Now it is possible to generate working targets that have been optimised for
armhf.
Note
The original patch was made by Gregor Richards
ea98c70edb/patches/gcc-4.7.3-musl.diff
The patch was slightly modified to fit into OpenSDE's current gcc patchset!
Please look at the patch itself if you want to know more about the tiny
adjustment.
This changes the behavior which was to install headers only at stage 0,
which was sufficient to build a proper toolchain and to cross-compile,
but as the headers have not been installed at stage 1 we have not header
files within the flist of the musl package.
Now we are always calling the 'install-headers' target when calling make
install, but we need to 'touch' every header file within the sources to
be able to install the headers even if already existing in the build
sandbox.
Note:
If you see something like this while trying to build a package using musl libc
this kind of fix might also apply for that package!
------------------------------------------------------------------------------
freadahead.c: In function 'freadahead':
freadahead.c:83:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, th en report this to bug-gnulib."
------------------------------------------------------------------------------