Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 15:51:14 +0100
From:      Michael Gmelin <freebsd@grem.de>
To:        andrew clarke <mail@ozzmosis.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: www/aria2 dependencies & lang/llvm33 build error
Message-ID:  <20131122155114.48d3f79c@bsd64.grem.de>
In-Reply-To: <20131122144124.GA39924@ozzmosis.com>
References:  <20131116132213.GA95852@ozzmosis.com> <20131117110145.GA63272@ozzmosis.com> <20131117141502.5c203a99@bsd64.grem.de> <20131122142055.GA36109@ozzmosis.com> <20131122153756.02e2c9d2@bsd64.grem.de> <20131122144124.GA39924@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Nov 2013 01:41:25 +1100
andrew clarke <mail@ozzmosis.com> wrote:

> On Fri 2013-11-22 15:37:56 UTC+0100, Michael Gmelin (freebsd@grem.de)
> wrote:
> 
> > > > I just built sudo successfully on 9.1 using system clang 3.1 and
> > > > CXX=clang++
> > > > CXXFLAGS+=-std=c++11 -stdlib=libc++
> > > 
> > > Yeah, I have no problem building sudo with clang. The sudo code
> > > is all C though, not C++.
> > 
> > Well, that was supposed to be "aria2" and not "sudo" (no idea why I
> > wrote sudo in the first place, probably multitasking when I
> > shouldn't have). A tried it specifically because it didn't build
> > about two weeks earlier due to being incompatible with C++11. So it
> > went straight from not working with C++11 to requiring C++11. Good
> > times :)
> 
> Ah.
> 
> Then the obvious question is... How did you get aria2 to build in 9.1
> when I can't get it to build in 9.2? ;-)
> 

I built 9.1 from source using:

WITH_LIBCPLUSPLUS=YES
(and later WITH_CLANG_EXTRAS=1)

(make buildworld installworld kernel)

So I've got libc++.

All ports are built using:
CC=clang
CXX=clang++
CXXFLAGS+= -std=c++11 -stdlib=libc++
CPP=clang-cpp


-- 
Michael Gmelin



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