Lines 21-26
Link Here
|
21 |
-e "/^CFLAGS/ s:-O2:${CFLAGS}:" \ |
21 |
-e "/^CFLAGS/ s:-O2:${CFLAGS}:" \ |
22 |
-e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \ |
22 |
-e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \ |
23 |
Makefile || die "sed" |
23 |
Makefile || die "sed" |
|
|
24 |
|
25 |
# clang does not know about this gcc parameter |
26 |
if [[ "tc-getCC()" == "clang" ]] ; then |
27 |
sed -i -e "/^CFLAGS/ s:-fkeep-inline-functions::" Makefile || die "sed clang failed" |
28 |
fi |
24 |
} |
29 |
} |
25 |
|
30 |
|
26 |
src_compile() { |
31 |
src_compile() { |