summaryrefslogtreecommitdiff
path: root/lang/gcc34-ada/Makefile
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2004-10-29 11:07:55 +0000
committershannonjr <shannonjr@pkgsrc.org>2004-10-29 11:07:55 +0000
commit0e9dac0b7b23dc0de01b58d423b234ae149aa3f4 (patch)
treed47e18017337bed5e41e6c8b85f657af5c59247b /lang/gcc34-ada/Makefile
parenta8f4eef64e5d20ccd0cde2d630a47932cc62beac (diff)
downloadpkgsrc-0e9dac0b7b23dc0de01b58d423b234ae149aa3f4.tar.gz
Modify to build shared (and static) libgnat
Diffstat (limited to 'lang/gcc34-ada/Makefile')
-rw-r--r--lang/gcc34-ada/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/gcc34-ada/Makefile b/lang/gcc34-ada/Makefile
index f1ec6cd676f..cc4a1f2559e 100644
--- a/lang/gcc34-ada/Makefile
+++ b/lang/gcc34-ada/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/09/27 09:17:30 shannonjr Exp $
+# $NetBSD: Makefile,v 1.10 2004/10/29 11:07:55 shannonjr Exp $
#
DISTNAME= gcc-${GCC_VERSION}
@@ -56,6 +56,7 @@ CONFIGURE_ARGS+= --with-ld=${LOCALBASE}/bin/ld
CONFIGURE_ARGS+= --with-gnu-as
CONFIGURE_ARGS+= --with-gnu-ld
.endif
+CONFIGURE_ARGS+= --enable-shared
# Ada bootstrap compiler section
# An Ada compiler is required to build the Ada compiler. You
@@ -141,6 +142,7 @@ do-configure:
do-build:
(cd ${WRKDIR}/obj && ${SETENV} ${MAKE_ENV} ${GMAKE} bootstrap)
+ (cd ${WRKDIR}/obj/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} gnatlib-shared)
(cd ${WRKDIR}/obj/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} gnatlib_and_tools)
do-test: