Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit mount-boot eutils toolchain-funcs |
7 |
inherit flag-o-matic mount-boot eutils toolchain-funcs |
8 |
|
8 |
|
9 |
DESCRIPTION="A stand alone memory test for x86 computers" |
9 |
DESCRIPTION="A stand alone memory test for x86 computers" |
10 |
HOMEPAGE="http://www.memtest86.com/" |
10 |
HOMEPAGE="http://www.memtest86.com/" |
Lines 44-49
Link Here
|
44 |
|
44 |
|
45 |
src_test() { :; } |
45 |
src_test() { :; } |
46 |
|
46 |
|
|
|
47 |
src_compile() { |
48 |
HARDENED_CFLAGS=$(test-flags-CC -nopie) |
49 |
emake CC="$(tc-getCC) ${HARDENED_CFLAGS}" |
50 |
} |
51 |
|
47 |
src_install() { |
52 |
src_install() { |
48 |
insinto ${BOOTDIR} |
53 |
insinto ${BOOTDIR} |
49 |
newins memtest.bin memtest |
54 |
newins memtest.bin memtest |