diff options
author | Valentine Barshak <gvaxon@gmail.com> | 2012-10-15 03:51:47 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-10-21 21:22:18 +0200 |
commit | 787278356d19771ed32c8addd45480beae78a303 (patch) | |
tree | 0c5ccb9393c4903e7b72abd03887a4f530ad5732 /package/screen | |
parent | 6d4cdb081020bafa7062c6a8cf052b3d5000635c (diff) | |
download | buildroot-novena-787278356d19771ed32c8addd45480beae78a303.tar.gz buildroot-novena-787278356d19771ed32c8addd45480beae78a303.zip |
webkit: Fix build issue with gcc-4.6 and above
This fixes the "Unknown parameter for tags/attrs" build error.
Backported from commit 88e08c43d0200a4b06a298b7d2541965eebc0afe
[PATCH] 2011-04-17 Thierry Reding
<thierry.reding@avionic-design.de>
Reviewed by Adam Barth.
Fix build with GCC 4.6.
* dom/make_names.pl: Execute preprocessor without the -P option. The
preprocessor in GCC 4.6 eats empty lines, effectively breaking the
parsing performed by this script. Dropping the -P option when invoking
the preprocessor keeps the empty lines but as a side-effect also adds
additional linemarkers.
From the cpp manpage:
-P Inhibit generation of linemarkers in the output from the
preprocessor. This might be useful when running the preprocessor
on something that is not C code, and will be sent to a program
which might be confused by the linemarkers.
The linemarkers are not problematic, however, because the script
properly handles them by ignoring all lines starting with a #.
Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
Tested-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/screen')
0 files changed, 0 insertions, 0 deletions