40b3f748c2
building with gcc from ports on FreeBSD. Remove the REINPLACE_CMD patches in the ports Makefile and $FBSD_LDFLAGS from do-build that are no longer needed for building with gcc in the general case. Add a patch to disable optimization when compiling one source file with base clang 3.4 on FreeBSD 10 amd64 to avoid tripping on a compiler code generation bug. This allows us to build with base clang on FreeBSD 10 amd64 instead of using the clang35 port. Fine tune compiler optimization flags when using clang 3.6 on FreeBSD 11 i386 or gcc 4.9 instead of totally disabling optimization. Unbreak the build with gcc 4.9 on amd64. A few Makefile cleanups without functional change: * Combine two .if ${ARCH} == amd64 sections of Makefile * Merge the pre-configure target into post-extract * Simplify the code in the do-build target Approved by: mat (mentor, implicit) |
||
---|---|---|
.. | ||
files | ||
distinfo | ||
Makefile | ||
pkg-descr |