Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
# Must be before x-modular eclass is inherited |
5 |
# Must be before x-modular eclass is inherited |
6 |
SNAPSHOT="yes" |
6 |
SNAPSHOT="yes" |
7 |
PATCHES="${FILESDIR}/libXt-1.0.5-cross.patch" |
|
|
8 |
|
7 |
|
9 |
inherit x-modular flag-o-matic |
8 |
inherit x-modular flag-o-matic |
10 |
|
9 |
|
Lines 27-29
Link Here
|
27 |
filter-ldflags -Bdirect |
26 |
filter-ldflags -Bdirect |
28 |
filter-ldflags -Wl,-Bdirect |
27 |
filter-ldflags -Wl,-Bdirect |
29 |
} |
28 |
} |
|
|
29 |
|
30 |
x-modular_src_compile() { |
31 |
x-modular_src_configure |
32 |
|
33 |
# [Cross-Compile Love] Disable {C,LD}FLAGS and redefine CC= for 'makestr' |
34 |
if tc-is-cross-compiler; then |
35 |
( filter-flags -m* ; cd util && make CC=$(tc-getBUILD_CC) CFLAGS="${CFLAGS}" LDFLAGS="" clean all ) |
36 |
fi |
37 |
|
38 |
x-modular_src_make |
39 |
|
40 |
# [Cross-Compile Love] Recompile 'makestr' with the target compiler, |
41 |
# just in case we want to install it. |
42 |
if tc-is-cross-compiler; then |
43 |
( cd util && make clean all ) |
44 |
fi |
45 |
} |
46 |
|