diff options
author | tron <tron> | 2006-06-30 15:33:39 +0000 |
---|---|---|
committer | tron <tron> | 2006-06-30 15:33:39 +0000 |
commit | d027385b68422ad4bcc65b19c6934a024541cb2d (patch) | |
tree | af71031a8d8822cd7eaf7404db3c05707dad1cc7 /net/arpd | |
parent | 1e59bebc2c4409d2e5e9b3ed25b8ffcbe7869108 (diff) | |
download | pkgsrc-d027385b68422ad4bcc65b19c6934a024541cb2d.tar.gz |
Just turn off "nonnull" warning instead of all warnings.
Diffstat (limited to 'net/arpd')
-rw-r--r-- | net/arpd/hacks.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net/arpd/hacks.mk b/net/arpd/hacks.mk index 3178f40ea51..c16a6dedf98 100644 --- a/net/arpd/hacks.mk +++ b/net/arpd/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.1 2006/06/30 15:13:51 tron Exp $ +# $NetBSD: hacks.mk,v 1.2 2006/06/30 15:33:39 tron Exp $ # GCC 4.1.x complains about a NULL argument to memcpy() because it gets # confused by the definition of the ar_tha() macro under NetBSD. @@ -6,5 +6,9 @@ .if ${OPSYS} == "NetBSD" && !empty(CC_VERSION:Mgcc-4.1.*) PKG_HACKS+= gcc41-null-warning -BUILDLINK_TRANSFORM+= rm:-Wall + +SUBST_CLASSES+= gcc41 +SUBST_STAGE.gcc41= post-configure +SUBST_FILES.gcc41= Makefile +SUBST_SED.gcc41= -e "s/-Wall/-Wall -Wno-nonnull/" .endif |