diff options
author | joerg <joerg@pkgsrc.org> | 2014-12-03 13:58:57 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-12-03 13:58:57 +0000 |
commit | 0987accdeaea41557d81a821b75b7a77290b91b6 (patch) | |
tree | 998db3b0056820daecf6304122f6fa72ff875b3f /editors | |
parent | ee790a985c86937840cbd1c58baf81ebcd8004ce (diff) | |
download | pkgsrc-0987accdeaea41557d81a821b75b7a77290b91b6.tar.gz |
Make sure the fake libgcc is actually picked up when using cwrappers.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs22/Makefile.common | 3 | ||||
-rw-r--r-- | editors/emacs23/Makefile.common | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/editors/emacs22/Makefile.common b/editors/emacs22/Makefile.common index bccfd2d0cbc..8ea28a8dcba 100644 --- a/editors/emacs22/Makefile.common +++ b/editors/emacs22/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.5 2013/10/27 20:47:53 joerg Exp $ +# $NetBSD: Makefile.common,v 1.6 2014/12/03 13:58:57 joerg Exp $ # # used by editors/emacs22/Makefile # used by editors/emacs22-nox11/Makefile @@ -72,6 +72,7 @@ CONFIGURE_ENV+= CPP=${CPP:Q} # NetBSD with native Clang doesn't provide libgcc, everything is in libc. pre-configure: fake-libgcc +LDFLAGS+= -L${PREFIX}/lib fake-libgcc: ${AR} q ${BUILDLINK_DIR}/lib/libgcc.a .endif diff --git a/editors/emacs23/Makefile.common b/editors/emacs23/Makefile.common index f915d09dc2b..349787bc182 100644 --- a/editors/emacs23/Makefile.common +++ b/editors/emacs23/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2013/11/04 11:09:40 jperkin Exp $ +# $NetBSD: Makefile.common,v 1.5 2014/12/03 13:58:57 joerg Exp $ # # used by editors/emacs23/Makefile # used by editors/emacs23-nox11/Makefile @@ -69,6 +69,7 @@ INSTALL_UNSTRIPPED= yes # NetBSD with native Clang doesn't provide libgcc, everything is in libc. pre-configure: fake-libgcc +LDFLAGS+= -L${PREFIX}/lib fake-libgcc: ${AR} q ${BUILDLINK_DIR}/lib/libgcc.a .endif |