https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207148

--- Comment #1 from Mark Millard <[email protected]> ---
(In reply to Mark Millard from comment #0)

If I add

X_COMPILER_TYPE=gcc
.if ${.MAKE.LEVEL} == 0
CC=/usr/bin/gcc
CXX=/usr/bin/g++
CPP=/usr/bin/cpp
.export CC
.export CXX
.export CPP
.endif

to the src.conf content that I showed in the description then it turns out that
buidlworld adds --sysroot and -isystem and other things globally. The result
seems to include avoidance of /usr/include for what I was reporting. [XCC ends
up being a copy of the CC and its being a full path is part of what enables
this. X_COMPILER_TYPE=gcc enables more.]

It still may be that CFLAGS having something for include paths is supposed to
be present. I'm not sure.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to