Lines 69-74
src_prepare() {
Link Here
|
69 |
|
69 |
|
70 |
# "bison -y" causes runtime crashes #355795 |
70 |
# "bison -y" causes runtime crashes #355795 |
71 |
export YACC=byacc |
71 |
export YACC=byacc |
|
|
72 |
|
73 |
# remember the name of the C compiler for the native ABI |
74 |
MY_NATIVE_CC=$(tc-getCC) |
72 |
} |
75 |
} |
73 |
|
76 |
|
74 |
multilib_src_configure() { |
77 |
multilib_src_configure() { |
Lines 83-93
multilib_src_configure() {
Link Here
|
83 |
} |
86 |
} |
84 |
|
87 |
|
85 |
multilib_src_compile() { |
88 |
multilib_src_compile() { |
86 |
if ! multilib_is_native_abi; then |
89 |
# The wmluiltok build tool is linked with libfl.a, so always |
87 |
# The wmluiltok build tool is linked with libfl.a, therefore compile |
90 |
# compile it for the native ABI |
88 |
# it for the build platform's ABI |
91 |
emake -C tools/wml CC="${MY_NATIVE_CC}" LIBS="-lfl" wmluiltok |
89 |
emake -C tools/wml CC="$(tc-getBUILD_CC)" LIBS="-lfl" wmluiltok |
|
|
90 |
fi |
91 |
emake |
92 |
emake |
92 |
} |
93 |
} |
93 |
|
94 |
|