Confirmed users
180
edits
Line 108: | Line 108: | ||
cd mozilla-central | cd mozilla-central | ||
# Apply configure hacks for crosstool-ng toolchain problems, probably could be fixed with better configuration of cross-toolchain | |||
hg qimport -P http://pastebin.mozilla.org/?dl=2137908 | hg qimport -P http://pastebin.mozilla.org/?dl=2137908 | ||
Line 115: | Line 116: | ||
export CPPFLAGS="-I/usr/include/arm-linux-gnueabihf -D_STDC_PREDEF_H=1" | export CPPFLAGS="-I/usr/include/arm-linux-gnueabihf -D_STDC_PREDEF_H=1" | ||
export CFLAGS="-I/usr/include/arm-linux-gnueabihf -D_STDC_PREDEF_H=1" | export CFLAGS="-I/usr/include/arm-linux-gnueabihf -D_STDC_PREDEF_H=1" | ||
# Wr issue with "Never use <bits/predefs.h> directly; include <stdc-predef.h> instead." | |||
export CXXFLAGS=" -D_STDC_PREDEF_H=1 " | export CXXFLAGS=" -D_STDC_PREDEF_H=1 " | ||
mk_add_options CPPFLAGS=$CPPFLAGS | mk_add_options CPPFLAGS=$CPPFLAGS |