Magellan Linux

Annotation of /smage/branches/alx07x-stable/include/yasm.sminc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10124 - (hide annotations) (download)
Thu Aug 3 14:58:15 2017 UTC (6 years, 9 months ago) by niro
File size: 580 byte(s)
-release branches/alx07x-stable
1 niro 9603 # $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     }