Re: ClangBSD build failures

From: Roman Divacky <rdivacky_at_freebsd.org>
Date: Tue, 27 Apr 2010 10:46:58 +0200
I see whats going on... you have CC=cc and CXX=c++ in your share/mk/sys.mk
and the "c++" is clang thus the 

.if ${CC} == "clang" || ${CXX} == "clang++"
MMINTRIN_CLANG= -isystem ${WORLDTMP}/usr/include/clang/1.5
.endif

condition does not add the -isystem thus the gcc mmintrin.h is used.

you have to change the share/mk/sys.mk to have CC/CXX either "gcc/g++"
or "clang/clang++"

I have to think of some better way to test this as this proves way
too fragile :(

thnx for the report!
Received on Tue Apr 27 2010 - 06:49:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC