Lines 67-72
Link Here
|
67 |
# Switch off hardened tech |
67 |
# Switch off hardened tech |
68 |
filter-flags -fpie -fstack-protector |
68 |
filter-flags -fpie -fstack-protector |
69 |
|
69 |
|
|
|
70 |
# Explicitly disabling all sse commands didn't help here, forcing |
71 |
# pentium-mmx works. Fixes bug #212351. |
72 |
use x86 && append-flags -march=pentium-mmx |
73 |
|
70 |
myconf="--disable-gcc-check" |
74 |
myconf="--disable-gcc-check" |
71 |
if use alsa; then |
75 |
if use alsa; then |
72 |
myconf="$myconf --enable-alsa" |
76 |
myconf="$myconf --enable-alsa" |
Lines 80-85
Link Here
|
80 |
if ! use sdl ; then |
84 |
if ! use sdl ; then |
81 |
myconf="$myconf --disable-sdl --disable-gfx-check" |
85 |
myconf="$myconf --disable-sdl --disable-gfx-check" |
82 |
fi |
86 |
fi |
|
|
87 |
# econf does not work |
83 |
./configure \ |
88 |
./configure \ |
84 |
--prefix=/usr \ |
89 |
--prefix=/usr \ |
85 |
--enable-adlib \ |
90 |
--enable-adlib \ |
Lines 90-100
Link Here
|
90 |
${myconf} \ |
95 |
${myconf} \ |
91 |
|| die "could not configure" |
96 |
|| die "could not configure" |
92 |
|
97 |
|
93 |
emake || die "make failed" |
98 |
emake OS_CFLAGS="${CFLAGS}"|| die "make failed" |
94 |
} |
99 |
} |
95 |
|
100 |
|
96 |
src_install() { |
101 |
src_install() { |
97 |
make install \ |
102 |
emake install \ |
98 |
prefix="${D}/usr" \ |
103 |
prefix="${D}/usr" \ |
99 |
bindir="${D}/usr/bin" \ |
104 |
bindir="${D}/usr/bin" \ |
100 |
datadir="${D}/usr/share/qemu" \ |
105 |
datadir="${D}/usr/share/qemu" \ |