diff options
author | bouyer <bouyer@pkgsrc.org> | 2003-03-31 15:59:39 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2003-03-31 15:59:39 +0000 |
commit | 169341a292f0c629f956c8c54f8ed04f95310bcd (patch) | |
tree | c37cf9f838587c5c4ff83d41de3720146aec8a2f /lang | |
parent | 7d0d1f461e7d16b82759374ce43620812c2020bc (diff) | |
download | pkgsrc-169341a292f0c629f956c8c54f8ed04f95310bcd.tar.gz |
--enable-shared is fine for solaris too (modulo PR pkg/20697, which also
exists on NetBSD and probably linux), and --disable-shared cause problems
with some packages (e.g. ncurses).
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc3/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/gcc3/Makefile b/lang/gcc3/Makefile index 813b77d2584..863f3076c71 100644 --- a/lang/gcc3/Makefile +++ b/lang/gcc3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2003/03/22 02:59:32 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2003/03/31 15:59:39 bouyer Exp $ # Make sure that the version number in "Makefile.gcc" matches this. DISTNAME= gcc-3.2.2 @@ -33,7 +33,11 @@ INFO_FILES= cpp.info g77.info gcc.info gcj.info .if (${OPSYS} == "NetBSD") || (${OPSYS} == "Linux") CONFIGURE_ARGS+= --enable-shared .else +. if (${OPSYS} == "SunOS") +CONFIGURE_ARGS+= --enable-shared +. else CONFIGURE_ARGS+= --disable-shared +. endif . if ${CC:M*gcc*} == "" ALL_TARGET= bootstrap . endif @@ -89,4 +93,3 @@ CONFIG_CPPFLAGS= ${CPPFLAGS:C/-O[0-9]*//g} CONFIGURE_ENV+= CFLAGS="${CONFIG_CFLAGS}" CPPFLAGS="${CONFIG_CPPFLAGS}" . endif .endif - |