[Bug 241932] clang9 & ccache: compiling net/netatalk3 gets the -fPIC test wrong with ccache

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 13 15:47:08 UTC 2019


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

--- Comment #6 from Steve Wills <swills at FreeBSD.org> ---
Here you go:

root at head-amd64-default:/wrkdirs/usr/ports/net/netatalk3/work/netatalk-3.1.12 #
cc -c -O2 -pipe -I/usr/local/include -L/usr/local/lib -DLIBICONV_PLUG
-fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -fPIC -DPIC -DPIC
conftest.c
clang-cpp: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]
root at head-amd64-default:/wrkdirs/usr/ports/net/netatalk3/work/netatalk-3.1.12 #
/ccache/libexec/ccache/cc -c -O2 -pipe -I/usr/local/include -L/usr/local/lib
-DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG
-fPIC -DPIC -DPIC conftest.c
cpp: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list