Bug#594820: clang: specify libstdc++ version of headers to use

Guillem Jover guillem at debian.org
Fri May 27 18:13:56 UTC 2011


Hi!

On Mon, 2011-05-23 at 16:02:56 +0200, Michael Wild wrote:
> On 05/23/2011 12:25 AM, Sylvestre Ledru wrote:
> diff -Nru clang-2.9/debian/rules.d/vars.mk clang-2.9/debian/rules.d/vars.mk
> --- clang-2.9/debian/rules.d/vars.mk	2011-04-15 19:19:10.000000000 +0200
> +++ clang-2.9/debian/rules.d/vars.mk	2011-05-13 15:04:51.000000000 +0200
> @@ -68,6 +68,11 @@
>  confargs := \
>  	CC=$(DEB_HOST_GNU_TYPE)-gcc CXX=$(DEB_HOST_GNU_TYPE)-g++ \
>  	CPP=$(DEB_HOST_GNU_TYPE)-cpp \
> +	--with-c-include-dirs=/usr/include/$(DEB_BUILD_GNU_TYPE):/usr/include \
> +	--with-cxx-include-root=/usr/include/c++/4.5 \
> +	--with-cxx-include-arch=$(DEB_BUILD_GNU_TYPE) \
> +	--with-cxx-include-32bit-dir=32 \
> +	--with-binutils-include=/usr/include
>  	--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)

I don't think this is right, these two new DEB_BUILD_GNU_TYPE should
probably be DEB_HOST_GNU_TYPE if those headers are the ones on the
architecture built for (instead of build on).

thanks,
guillem





More information about the Pkg-llvm-team mailing list