--- - branch: MAIN date: Sun Jul 7 08:57:03 UTC 2013 files: - new: '1.10' old: '1.9' path: pkgsrc/lang/gcc-aux/Makefile pathrev: pkgsrc/lang/gcc-aux/Makefile@1.10 type: modified id: 20130707T085703Z.1da56019df6f3f84c9e35845d80da3e5d91cdeca log: | 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} module: pkgsrc subject: 'CVS commit: pkgsrc/lang/gcc-aux' unixtime: '1373187423' user: marino