summaryrefslogtreecommitdiffstats
path: root/utils/console-tools/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'utils/console-tools/PRE_BUILD')
-rwxr-xr-xutils/console-tools/PRE_BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/console-tools/PRE_BUILD b/utils/console-tools/PRE_BUILD
index 4cf2740d49..46f1f45970 100755
--- a/utils/console-tools/PRE_BUILD
+++ b/utils/console-tools/PRE_BUILD
@@ -8,5 +8,7 @@ if ! is_depends_enabled $SPELL linuxdoc-tools; then
sed -i -e 's/kbd.FAQ.html//' -e 's/kbd.FAQ.txt//' \
-e 's/lct.html//' -e 's/lct.txt//' doc/Makefile*
fi &&
+# fixes bug #14434 for gcc 4.2 (4.3 doesn't need it)
+sedit "7i#include <locale.h>" include/lct/local.h &&
sedit "s/examples//" Makefile.am &&
sedit "s/examples//" Makefile.in