Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2011 13:16:45 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Nali Toja <nalitoja@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r226475 - head/lib/clang
Message-ID:  <4E9D601D.7060604@FreeBSD.org>
In-Reply-To: <8662jmo9zz.fsf@gmail.com>
References:  <201110171830.p9HIUIiR035423__37008.086537435$1318876298$gmane$org@svn.freebsd.org> <86y5wjktea.fsf@gmail.com> <8662jmo9zz.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-10-18 12:43, Nali Toja wrote:
...
>>> -CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH:C/amd64/x86_64/}-unknown-freebsd9.0\"
>>> +CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH:C/amd64/x86_64/}-unknown-freebsd10.0\"
>> I think this results in __FreeBSD__ macro being defined as `1' and
>> subsequently breaking clangworld where its value is used, e.g.
> And it builds successfully with the following bandaid.

Thanks for reporting this, I'll commit a proper fix later today.

I've also sent it upstream, hopefully it will make the 3.0 release. :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E9D601D.7060604>