summaryrefslogtreecommitdiffstats
path: root/recipes/glibc
Commit message (Collapse)AuthorAgeFilesLines
* cross-localedef-native_2.20.bb: fix for gcc5dizzySamuli Piippo2016-08-191-0/+23
The build of cross-localedef-native is observed to fail under gcc5 hosts with multiple definition errors, e.g.: argp-help.o: In function `argp_fmtstream_write': argp-help.c:(.text+0x1da0): multiple definition of `argp_fmtstream_write' argp-fmtstream.o:argp-fmtstream.c:(.text+0x7a0): first defined here The problem is the change of the default C standard from gnu89 to gnu11 which changes the semantics of 'inline'. The issue is described in the Porting guide at https://gcc.gnu.org/gcc-5/porting_to.html. Adding the '-fgnu89-inline' option fixes the issue. (This fix, including the above explanation, was shamelessly copied from http://git.vahanus.net/?p=csc/ptxdist-kp.git;a=commit;h=2f04a3587bd33c74ccc9be6e115a8b1fde620841.) Task-number: QTBUG-53862 Change-Id: I88b351b618c2aa9838ec5be6108a26369db5d760 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>