]> granicus.if.org Git - clang/commit
Only override the target architecture on -m32 and friends if it is
authorJoerg Sonnenberger <joerg@bec.de>
Wed, 10 Sep 2014 21:25:37 +0000 (21:25 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Wed, 10 Sep 2014 21:25:37 +0000 (21:25 +0000)
commit621b515ae50a9bbcd29579418ddc559b72034fa9
tree8b5001631e6f1f05674d932fd62f7bae30a12fb9
parent4c10fa8a535ea37566dec0a4914d038be6d0e7bc
Only override the target architecture on -m32 and friends if it is
actually different. Fixes a surprising link error with nodejs on rpi,
where armv6-netbsd-eabihf turned into armv5e-netbsd-eabihf, which
doesn't lacks the necessary VFP support.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217546 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
test/Driver/biarch.c [new file with mode: 0644]