[llvm-commits] [compiler-rt] r94216 - /compiler-rt/trunk/make/platform/clang_darwin.mk

Eric Christopher echristo at apple.com
Sat Jan 23 14:31:55 PST 2010


On Jan 23, 2010, at 2:26 PM, Daniel Dunbar wrote:

> On Sat, Jan 23, 2010 at 1:08 PM, Eric Christopher <echristo at apple.com> wrote:
>> 
>> On Jan 23, 2010, at 8:48 AM, Daniel Dunbar wrote:
>> 
>>> On Fri, Jan 22, 2010 at 6:36 PM, Eric Christopher <echristo at apple.com> wrote:
>>>> 
>>>> On Jan 22, 2010, at 1:06 PM, Daniel Dunbar wrote:
>>>> 
>>>>> Tweak clang_darwin config to strip off any -arch if the user overrides CC, we do
>>>>> this during an Apple style build.
>>>> 
>>>> Wha?
>>>> 
>>>> make CC=/foo/bar/baz/gcc
>>>> 
>>>> won't work? Or am I confused?
>>> 
>>> Previously, 'make CC=/foo/bar/baz/gcc -arch moo' wouldn't work. Now it
>>> will just ignore the -arch (but still use /foo/bar/baz/gcc).
>> 
>> Hunh. OK. What was wrong before?
> 
> The compiler-rt build wants to manage universal archs itself,
> previously it would end up doing "cc -arch foo -arch bar" when it just
> wanted to get a build for arch bar.

That makes sense, and some internal people I imagine set CC="something with arch" making the obvious of erroring out not possible :)

Thanks :)

-eric



More information about the llvm-commits mailing list