diff options
author | dholland <dholland@pkgsrc.org> | 2012-04-30 02:51:40 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-04-30 02:51:40 +0000 |
commit | e7439fd48b4d7bf5a2dde69288a15a834360589a (patch) | |
tree | c625ea805ff2186633591da4c0ad26665c30e621 /lang | |
parent | eb1333a8ee4d0f21bb401b45cc9bcf7a5fb55612 (diff) | |
download | pkgsrc-e7439fd48b4d7bf5a2dde69288a15a834360589a.tar.gz |
Fix build on NetBSD.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/objc/hacks.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lang/objc/hacks.mk b/lang/objc/hacks.mk new file mode 100644 index 00000000000..f7fd99b35d0 --- /dev/null +++ b/lang/objc/hacks.mk @@ -0,0 +1,7 @@ +# $NetBSD: hacks.mk,v 1.1 2012/04/30 02:51:40 dholland Exp $ + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +CFLAGS+= -D__attribute__\(x\)= +.endif |