diff options
author | grant <grant@pkgsrc.org> | 2003-06-29 16:30:32 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-06-29 16:30:32 +0000 |
commit | 098cc5097a9beb90749fe5ac407e203f1d2bd20b (patch) | |
tree | b28a55746935e835325224745bcecdae7148c269 /www | |
parent | e2959657cc5aef2a65ee519f6d142cb2f9b81f13 (diff) | |
download | pkgsrc-098cc5097a9beb90749fe5ac407e203f1d2bd20b.tar.gz |
use LINK_ALL_LIBGCC_HACK
remove some unneeded parens
Diffstat (limited to 'www')
-rw-r--r-- | www/php4/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/www/php4/Makefile b/www/php4/Makefile index 8c0632b106b..c3807850762 100644 --- a/www/php4/Makefile +++ b/www/php4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2003/02/21 05:39:03 lukem Exp $ +# $NetBSD: Makefile,v 1.33 2003/06/29 16:30:32 grant Exp $ PKGNAME= php-${PHP_BASE_VERS} PKGREVISION= 2 @@ -23,9 +23,8 @@ EGDIR= ${PREFIX}/share/examples/php # "-Wl," to force all of the flags to be passed down to the linker through # libtool without change. # -.if (${OPSYS} == "NetBSD") && (${OBJECT_FMT} == "ELF") -LINK_LIBGCC_LDFLAGS= -Wl,--whole-archive -Wl,-lgcc -Wl,--no-whole-archive -MAKE_ENV+= LINK_LIBGCC_LDFLAGS="${LINK_LIBGCC_LDFLAGS}" +.if ${OPSYS} == "NetBSD" && ${OBJECT_FMT} == "ELF" +MAKE_ENV+= LINK_LIBGCC_LDFLAGS="${LINK_ALL_LIBGCC_HACK}" .endif # Ensure we export symbols in the linked shared object. |