diff options
author | Russ Cox <rsc@swtch.com> | 2020-12-30 07:39:16 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-12-30 07:53:28 -0500 |
commit | 99dee78c2d44641ba56e5bb640d732f993b3dfa1 (patch) | |
tree | 3e785ab1037b96d4eb2dc321925bc0733332cea8 /bin/9c | |
parent | 0bd14783426d137428ffae7cd89cfc06b88d1b11 (diff) | |
download | plan9port-99dee78c2d44641ba56e5bb640d732f993b3dfa1.tar.gz plan9port-99dee78c2d44641ba56e5bb640d732f993b3dfa1.tar.bz2 plan9port-99dee78c2d44641ba56e5bb640d732f993b3dfa1.zip |
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.
Diffstat (limited to 'bin/9c')
-rwxr-xr-x | bin/9c | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -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 |