|
|
echo ./configure ${myconf} | echo ./configure ${myconf} |
./configure ${myconf} || die | ./configure ${myconf} || die |
| |
|
if use amd64 && [ "$(gcc-version)" = "3.4" ]; then |
|
einfo "Appending '-fno-gcse' to CFLAGS/CXXFLAGS in src/gui/Makefile" |
|
einfo "This is only necessary for gcc-3.4, so you might want to switch" |
|
einfo "to gcc-4.x if possible." |
|
einfo "See gentoo bug #189493 for details." |
|
sed -r 's,^CFLAGS([ ]+)= (.*)$,CFLAGS\1= \2 -fno-gcse,' -i \ |
|
src/gui/Makefile |
|
sed -r 's,^CXXFLAGS([ ]+)= (.*)$,CXXFLAGS\1= \2 -fno-gcse,' -i \ |
|
src/gui/Makefile |
|
fi |
|
|
emake all || die | emake all || die |
} | } |
| |