clang - let buildsystem figure out how to invoke AR, etc., for clang too.
This commit is contained in:
parent
7b9d99251f
commit
0b920bb1cd
2 changed files with 1 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue