diff options
author | pho <pho@pkgsrc.org> | 2014-05-08 02:05:29 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2014-05-08 02:05:29 +0000 |
commit | 7ead990335b4bb8c6317c98290447a4c38ea2043 (patch) | |
tree | f77baac943ce0d18d468c8a40bf5ddd8755df885 /lang/gcc45 | |
parent | f47135b0fb912c76e81b84bde5bb524730bc6a41 (diff) | |
download | pkgsrc-7ead990335b4bb8c6317c98290447a4c38ea2043.tar.gz |
Fix build failure on Darwin
See ${WRKSRC}/libgcc/config/t-slibgcc-darwin: It uses strip(1) to
create a stub library, not just to remove symbols, so we must not
let strip(1) be a no-op regardless of ${INSTALL_UNSTRIPPED} or the
build fails for missing files.
Diffstat (limited to 'lang/gcc45')
-rw-r--r-- | lang/gcc45/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/gcc45/Makefile b/lang/gcc45/Makefile index 65dbe0cdded..5f8c311c187 100644 --- a/lang/gcc45/Makefile +++ b/lang/gcc45/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2013/05/31 12:41:11 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2014/05/08 02:05:29 pho Exp $ DISTNAME= gcc-${GCC_VERSION} PKGNAME= gcc45-${GCC_VERSION} @@ -81,6 +81,13 @@ MAKE_ENV+= ac_cv_func_clock_gettime=yes .if ${OPSYS} == "Linux" CONFIGURE_ARGS+= --disable-libquadmath --disable-libquadmath-support .endif +.if ${OPSYS} == "Darwin" +# See ${WRKSRC}/libgcc/config/t-slibgcc-darwin: It uses strip(1) to +# create a stub library, not just to remove symbols, so we must not +# let strip(1) be a no-op regardless of ${INSTALL_UNSTRIPPED} or the +# build fails for missing files. +CONFIGURE_ARGS+= STRIP_FOR_TARGET=${TOOLS_PLATFORM.strip} +.endif CONFIGURE_ENV+= CONFIG_SHELL=${CONFIG_SHELL} |