Magellan Linux

Annotation of /trunk/include/yasm.sminc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22273 - (hide annotations) (download)
Thu Sep 18 08:30:15 2014 UTC (10 years, 1 month ago) by niro
File size: 357 byte(s)
-common yasm functions
1 niro 22273 # $Id$
2    
3     SDEPEND="${SDEPEND}
4     >= dev-lang/yasm-1.3"
5    
6     # multilib honor mechanizm
7     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     }