[Bug 235921] Mk/Uses/qt-dist.mk: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 16 15:35:08 UTC 2019


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

Piotr Kubaj <pkubaj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pkubaj at FreeBSD.org

--- Comment #5 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
(In reply to Raphael Kubo da Costa from comment #4)
"Can you explain why this is necessary? /usr/lib, /lib and /usr/include should
all be part of the standard search paths."
Apparently that is true when you build using Clang, but not when using GCC.


"Wouldn't that cause those lines to be included even one's not using GCC? Plus,
aren't those added automatically by GCC itself?"
I tried building QT with this patch on amd64 with Clang, it works. GCC from
ports doesn't add those arguments automatically.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list