Commit graph

18 commits

Author SHA1 Message Date
joerg
03f704711c Retire CLANG_NO_VALUE_PROPAGATION_PASS. CVP has been fixed in LLVM to
require much less memory.
2017-07-11 19:41:20 +00:00
jperkin
c657f15637 Consolidate setting of SSP flags now that multiple compilers support it. 2017-05-18 08:14:08 +00:00
khorben
8b017f6b3a Register support for SSP on FreeBSD and clang (on x86 architectures)
Support for SSP (Stack-Smashing Protection) is optional so this should not
affect default builds.

Tested on FreeBSD/amd64 (10.3-RELEASE-p11)
2017-05-18 01:29:55 +00:00
joerg
8e50ffaa74 LLVM's correlated value propagation pass is known to require a lot of
memory and CPU time for certain input. Provide a variable
(CLANG_NO_VALUE_PROPAGATION_PASS) for selectively disabling it in those
places known to trigger it.
2015-03-02 19:59:06 +00:00
joerg
bad8146eae cwrappers should get -Qunused-arguments too. 2014-12-03 14:05:25 +00:00
adam
40a19cff11 Construct CC_VERSION differenty; fix for Xcode where clang reports itself as Apple LLVM 2013-07-31 06:37:27 +00:00
joerg
f9c20e8f17 No trailing comma after -R 2013-05-29 13:19:02 +00:00
joerg
7b69413290 Use -R as LINKER_RPATH_FLAG like GCC. The patches for lang/gcc47 and
lang/gcc48 don't work otherwise.
2013-05-22 12:13:35 +00:00
riastradh
9e0c502480 Split BUILD_DEPENDS into TOOL_DEPENDS and BUILD_DEPENDS in mk/.
Build depends are target packages that are needed at build-time for,
e.g., static libraries to link against, header files to include, &c.
Tool depends are native packages that are needed at build-time for,
e.g., compilers/linkers/&c. to run.

ok agc
2013-05-09 23:37:25 +00:00
joerg
33f8f94997 Use g95 as default Fortran compiler. Would be nice to use more modern
GCC, but that requires cleaning up mk/compiler/gcc.mk first.

Only include the fortran compiler file, if Fortran is actually
requested.
2013-05-09 14:01:08 +00:00
wiz
06ed9834e1 clang -dumpversion prints 4.2.1, which is not the intended content
of CC_VERSION.
Use clang --version | sed to get a more usable string.
2013-02-21 07:57:19 +00:00
joerg
743f365cee If the clang-cpp alias exists, use it as default CPP in pkgsrc.
Default to f2c for Fortran, mirroring gcc.
Append -Qunused-arguments in the wrappers to unbreak many stupid
configure checks that get confused by the (also added) -L options.
2011-07-19 14:02:47 +00:00
asau
5a86ebf6b4 Don't make Fortran synonymous to Fortran-77, it isn't so already. 2010-12-26 14:09:01 +00:00
adam
6db39cd4b7 Enable Fortran via f2c 2010-12-26 09:46:24 +00:00
adam
f5f08621b8 Added COMPILER_ABI_FLAGs 2010-12-26 08:12:30 +00:00
adam
5365e9ea30 * Use LOCALBASE instead of PREFIX for PCC and Clang compiler detection
(otherwise Makefiles with mk/compiler.mk included fall back to GCC).
* Simplified compiler/clang.mk.
2010-11-03 18:05:05 +00:00
adam
37582ae22d Fix clang.mk; add C++ support 2010-10-21 13:55:13 +00:00
ahoka
5d1d297d1f Add support for clang. 2010-09-23 22:26:06 +00:00