figure out which files to put in the library
This commit is contained in:
parent
f1e8706de8
commit
8cd0011323
1 changed files with 14 additions and 0 deletions
14
src/libthread/sysofiles.sh
Normal file
14
src/libthread/sysofiles.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
tag="${SYSNAME:-`uname -m`}-${OBJTYPE:-`uname`}-`uname -r`-${CC9:-cc}"
|
||||||
|
case "$tag" in
|
||||||
|
*-Linux-2.6.*)
|
||||||
|
echo pthread.o
|
||||||
|
;;
|
||||||
|
*-FreeBSD-5.*)
|
||||||
|
echo pthread.o
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo `uname`.o `uname`asm.o
|
||||||
|
esac
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue