Annotation of /branches/R11-unstable/include/yasm.sminc
Parent Directory | Revision Log
Revision 24893 -
(hide annotations)
(download)
Tue Nov 25 02:21:44 2014 UTC (9 years, 11 months ago) by niro
File size: 580 byte(s)
Tue Nov 25 02:21:44 2014 UTC (9 years, 11 months ago) by niro
File size: 580 byte(s)
-release R11-unstable
1 | niro | 22273 | # $Id$ |
2 | |||
3 | SDEPEND="${SDEPEND} | ||
4 | >= dev-lang/yasm-1.3" | ||
5 | |||
6 | # multilib honor mechanizm | ||
7 | niro | 22417 | mget-yasm-arch-tuple() |
8 | niro | 22273 | { |
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 | niro | 22417 | |
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 | } |