Add powerpc to LLD_ARCH, and bump _SYSTEM_VERSION-powerpc so people
will upgrade to lld-linked packages when they exist. Remove
-Wl,--relax from several ports; ld.bfd needed this flag, but ld.lld
can't take it.
lang/gcc/8 needs USE_LLD = No, because LLD can't link C++ code from
gcc (error: relocation refers to a discarded section: ...), and also,
the adastrap is too old.
To avoid linker errors on macppc, you need a snapshot where
/usr/bin/ld is LLD.
ok sthen@
ccc-analyzer hardcodes gcc/g++ as default compiler name on non-Darwin
platforms. This doesn't work so well if no gcc/g++ is available as has
been the case on amd64 (and all other platforms where gcc was deleted).
ok jca
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.
This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.
Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
libclang.so is used by other ports and the update to llvm 10 warranted
a minor bump. I haven't checked liblldb.so and libLTO.so, I bumped
their major version just in case but they aren't used in the ports tree.
Thanks to kn@ who provided an old libclang.so for comparison.
- like base-clang, change the default i386 target cpu to i586.
Same diff from Brad
- fix a crash exposed by net/libtorrent-rasterbar. Fix already present
in 10.0.1, analyze and diff from Nam Nguyen
- some lldb-related files snuck in the 10.0.0 PLIST-main changes, move
them to PLIST-lldb as appropriate. Reported by daniel@
libpython2.7 could be picked up even though the python3 interpreter was
detected and used. This lead to a funny line in configure output:
-- Found PythonLibs: /usr/local/lib/libpython2.7.so.0.0 (found version "3.7.7")
Let cmake pick a library version that matches the python interpreter
instead of declaring a preference for 2.7.
Build failure reported by naddy@