mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
source $PLAN9/config
This commit is contained in:
parent
87ccb5f9cf
commit
eea5f6adfe
2 changed files with 3 additions and 1 deletions
1
bin/9c
1
bin/9c
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
test -f $PLAN9/config && . $PLAN9/config
|
||||||
usegcc()
|
usegcc()
|
||||||
{
|
{
|
||||||
cc=gcc
|
cc=gcc
|
||||||
|
|
3
bin/9l
3
bin/9l
|
@ -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"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue