Lines 109-118
Link Here
|
109 |
$(use_enable debug) \ |
109 |
$(use_enable debug) \ |
110 |
|| die "configure failed" |
110 |
|| die "configure failed" |
111 |
|
111 |
|
|
|
112 |
case $(gcc --version | head -1 | sed -r "s/.*\(Gentoo ([^\)]*)\)/\1/") in |
113 |
4.1.1) |
114 |
fix_gcc_411 |
115 |
;; |
116 |
4.1.1-r1) |
117 |
fix_gcc_411 |
118 |
;; |
119 |
esac |
120 |
|
112 |
emake -j1 depend || die "depend" |
121 |
emake -j1 depend || die "depend" |
113 |
emake all || die "all" |
122 |
emake all || die "all" |
114 |
} |
123 |
} |
115 |
|
124 |
|
|
|
125 |
fix_gcc_411() { |
126 |
sed -ri "s/(CFLAGS.*)-O./\1-O1/g" \ |
127 |
dlls/oleaut32/tests/Makefile \ |
128 |
|| die "gcc4.1.1 patching failed" |
129 |
} |
130 |
|
116 |
src_install() { |
131 |
src_install() { |
117 |
make DESTDIR="${D}" install || die |
132 |
make DESTDIR="${D}" install || die |
118 |
dodoc ANNOUNCE AUTHORS ChangeLog DEVELOPERS-HINTS README |
133 |
dodoc ANNOUNCE AUTHORS ChangeLog DEVELOPERS-HINTS README |