Lines 1-4
Link Here
|
1 |
# Copyright 1999-2017 Gentoo Foundation |
1 |
# Copyright 1999-2016 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Id$ |
3 |
# $Id$ |
4 |
|
4 |
|
Lines 354-367
Link Here
|
354 |
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin" |
354 |
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin" |
355 |
use system-qemu && myconf+=" --with-system-qemu=/usr/bin/qemu-system-x86_64" |
355 |
use system-qemu && myconf+=" --with-system-qemu=/usr/bin/qemu-system-x86_64" |
356 |
use amd64 && myconf+=" $(use_enable qemu-traditional)" |
356 |
use amd64 && myconf+=" $(use_enable qemu-traditional)" |
|
|
357 |
if use debug ; then |
358 |
elog "attempt to enable debug" |
359 |
cd xen || die |
360 |
echo 'CONFIG_DEBUG=y' > .config |
361 |
make olddefconfig |
362 |
cd .. |
363 |
fi |
357 |
econf ${myconf} |
364 |
econf ${myconf} |
358 |
} |
365 |
} |
359 |
|
366 |
|
360 |
src_compile() { |
367 |
src_compile() { |
361 |
export VARTEXFONTS="${T}/fonts" |
368 |
export VARTEXFONTS="${T}/fonts" |
362 |
local myopt |
369 |
local myopt |
363 |
use debug && myopt="${myopt} debug=y" |
|
|
364 |
|
365 |
if test-flag-CC -fno-strict-overflow; then |
370 |
if test-flag-CC -fno-strict-overflow; then |
366 |
append-flags -fno-strict-overflow |
371 |
append-flags -fno-strict-overflow |
367 |
fi |
372 |
fi |