Contents of /smage/trunk/include/yasm.sminc
Parent Directory | Revision Log
Revision 9603 -
(show annotations)
(download)
Fri Jul 28 10:42:52 2017 UTC (7 years, 2 months ago) by niro
File size: 580 byte(s)
Fri Jul 28 10:42:52 2017 UTC (7 years, 2 months ago) by niro
File size: 580 byte(s)
-imported from upstream
1 | # $Id$ |
2 | |
3 | SDEPEND="${SDEPEND} |
4 | >= dev-lang/yasm-1.3" |
5 | |
6 | # multilib honor mechanizm |
7 | mget-yasm-arch-tuple() |
8 | { |
9 | case ${ARCH} in |
10 | i*86) echo "x86-linux-gcc" ;; |
11 | x86_64) |
12 | if [[ ${MULTILIB_BUILD} = true ]] |
13 | then |
14 | case ${ABI} in |
15 | m32) echo "x86-linux-gcc" ;; |
16 | m64) echo "x86_64-linux-gcc" ;; |
17 | esac |
18 | else |
19 | echo "x86_64-linux-gcc" |
20 | fi |
21 | ;; |
22 | esac |
23 | } |
24 | |
25 | # deprecated and will be dropped in near future |
26 | yasm_arch_tuple() |
27 | { |
28 | echo -e "${COLYELLOW}Warning: yasm_arch_tuple() is depcrecated, please use mget-yasm-arch-tuple() instead${COLDEFAULT}" >&2 |
29 | mget-yasm-arch-tuple |
30 | } |