Lines 113-118
nssbits() {
Link Here
|
113 |
fi |
113 |
fi |
114 |
echo > "${T}"/test.c || die |
114 |
echo > "${T}"/test.c || die |
115 |
${cc} ${!cppflags} ${!cflags} -c "${T}"/test.c -o "${T}/${1}test.o" || die |
115 |
${cc} ${!cppflags} ${!cflags} -c "${T}"/test.c -o "${T}/${1}test.o" || die |
|
|
116 |
echo $(file "${T}/${1}test.o") |
116 |
case $(file "${T}/${1}test.o") in |
117 |
case $(file "${T}/${1}test.o") in |
117 |
*32-bit*x86-64*) echo USE_X32=1;; |
118 |
*32-bit*x86-64*) echo USE_X32=1;; |
118 |
*64-bit*|*ppc64*|*x86_64*) echo USE_64=1;; |
119 |
*64-bit*|*ppc64*|*x86_64*) echo USE_64=1;; |