summaryrefslogtreecommitdiff
path: root/www/php4
diff options
context:
space:
mode:
authorgrant <grant>2003-06-29 16:30:32 +0000
committergrant <grant>2003-06-29 16:30:32 +0000
commita6ac5ce4a85d4e1c227757eb31432008919c7d17 (patch)
treeb28a55746935e835325224745bcecdae7148c269 /www/php4
parent7862cb5d7533e5039157d015366673192a48ee3d (diff)
downloadpkgsrc-a6ac5ce4a85d4e1c227757eb31432008919c7d17.tar.gz
use LINK_ALL_LIBGCC_HACK
remove some unneeded parens
Diffstat (limited to 'www/php4')
-rw-r--r--www/php4/Makefile7
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.