pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gcc-aux

Module Name:    pkgsrc
Committed By:   marino
Date:           Sun Jul  7 08:57:03 UTC 2013

Modified Files:
        pkgsrc/lang/gcc-aux: Makefile

Log Message:
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}

To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/gcc-aux/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index