clang - let buildsystem figure out how to invoke AR, etc., for clang too.

This commit is contained in:
Ben Gras 2011-02-22 01:08:29 +00:00
parent 7b9d99251f
commit 0b920bb1cd
2 changed files with 1 additions and 9 deletions

View file

@ -2,11 +2,6 @@
export CC=clang
export COMPILER_TYPE=gnu
export LD="i386-pc-minix3-ld"
export AR="i386-pc-minix3-ar"
export OBJCOPY="i386-pc-minix3-objcopy"
export RANLIB="i386-pc-minix3-ranlib"
export MAKEOBJDIR=obj-gnu
export PATH=$PATH:/usr/pkg/bin:/usr/gnu_cross/bin
export MAKEOBJDIR=obj-elf-clang

View file

@ -230,10 +230,7 @@ COMPILER_TYPE=ack
.elif !empty(CC:Mgcc)
COMPILER_TYPE=gnu
AR=ar
.elif !empty(CC:Mclang)
COMPILER_TYPE=gnu
AR=ar
.elif !empty(CC:Mi386-pc-minix3-gcc)
.elif !empty(CC:Mi386-pc-minix3-gcc) || !empty(CC:Mclang)
COMPILER_TYPE=gnu
AR=i386-pc-minix3-ar
LD=i386-pc-minix3-ld