all: remove $OBJTYPE from build
Now that we assume pthreads, the only assembly left is in libmp and libsec. We only ever added assembly for 386. The portable C code is fine for plan9port.
This commit is contained in:
parent
0bd1478342
commit
99dee78c2d
56 changed files with 41 additions and 1291 deletions
14
bin/9c
14
bin/9c
|
|
@ -112,24 +112,14 @@ usexlc()
|
|||
cflags="$cflags $CC9FLAGS"
|
||||
}
|
||||
|
||||
tag="${SYSNAME:-`uname`}-${OBJTYPE:-`uname -m`}-${CC9:-cc}"
|
||||
tag="${SYSNAME:-`uname`}-${CC9:-cc}"
|
||||
case "$tag" in
|
||||
*DragonFly*gcc*|*BSD*gcc*) usegcc ;;
|
||||
*DragonFly*clang|*BSD*clang*) useclang ;;
|
||||
*Darwin-x86_64*)
|
||||
*Darwin*)
|
||||
useclang
|
||||
cflags="$cflags -g3 -m64"
|
||||
;;
|
||||
*Darwin-arm64*)
|
||||
useclang
|
||||
cflags="$cflags -g3 -m64"
|
||||
;;
|
||||
*Darwin*clang*)
|
||||
useclang
|
||||
cflags="$cflags -g3 -m32"
|
||||
;;
|
||||
*Darwin*) usegcc
|
||||
cflags="$cflags -g3 -no-cpp-precomp -m32" ;;
|
||||
*HP-UX*) cc=${CC9:-cc}; cflags="-g -O -c -Ae" ;;
|
||||
*Linux*) usegcc
|
||||
case "${CC9:-gcc}" in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue