source $PLAN9/config

This commit is contained in:
rsc 2005-01-17 20:57:57 +00:00
parent 87ccb5f9cf
commit eea5f6adfe
2 changed files with 3 additions and 1 deletions

1
bin/9c
View file

@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
test -f $PLAN9/config && . $PLAN9/config
usegcc() usegcc()
{ {
cc=gcc cc=gcc

3
bin/9l
View file

@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
test -f $PLAN9/config && . $PLAN9/config
libsl="" libsl=""
doautolib=true doautolib=true
@ -173,7 +174,7 @@ case "$tag" in
*Linux*) *Linux*)
ld=gcc ld=gcc
extralibs="$extralibs -lutil" extralibs="$extralibs -lutil"
case "`uname -r`" in case "${SYSVERSION:-`uname -r`}" in
2.6.*) 2.6.*)
extralibs="$extralibs -lpthread" extralibs="$extralibs -lpthread"
;; ;;