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!
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to