summaryrefslogtreecommitdiff
path: root/mk/compiler.mk
diff options
context:
space:
mode:
authormarino <marino>2013-07-07 08:57:03 +0000
committermarino <marino>2013-07-07 08:57:03 +0000
commitfa86f43ec1ef14b467fbc01095e1bb1a60cd5b3a (patch)
treeabba571addb1f921b18d63ac808c23d1df22d51b /mk/compiler.mk
parentdeca0f626d42974b3491ac8640ff05f47cffb0cd (diff)
downloadpkgsrc-fa86f43ec1ef14b467fbc01095e1bb1a60cd5b3a.tar.gz
lang/gcc-aux: Fix build for PKGSRC_COMPILER=clang
The Link-Time Optimizer requires a couple of functions from the math library. For gcc, it appears there are built-in versions that satisfy the requirement, but building with clang requires an explicit linkage to libm. This additional LDFLAG may be required on all platforms when clang is used for pkgsrc, but until this is confirmed let's limit it to NetBSD. Fix tested on NetBSD 6.1 amd64 with CLANGBASE=${LOCALBASE}
Diffstat (limited to 'mk/compiler.mk')
0 files changed, 0 insertions, 0 deletions