diff options
author | obache <obache@pkgsrc.org> | 2013-04-20 09:17:32 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-04-20 09:17:32 +0000 |
commit | 31fb03008734e9cea398e3d9e7f1e1902bde390a (patch) | |
tree | eed0ab4cb907ecdac2a5bf16257c6c8d832d3569 /devel | |
parent | 0ab225a4d3dec9ef825abe9bf4625bc9ee4926fa (diff) | |
download | pkgsrc-31fb03008734e9cea398e3d9e7f1e1902bde390a.tar.gz |
require i486 instructions
Diffstat (limited to 'devel')
-rw-r--r-- | devel/glib2/hacks.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/glib2/hacks.mk b/devel/glib2/hacks.mk index 58be4ff7781..173b8d8079e 100644 --- a/devel/glib2/hacks.mk +++ b/devel/glib2/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.9 2013/03/18 14:01:24 jperkin Exp $ +# $NetBSD: hacks.mk,v 1.10 2013/04/20 09:17:32 obache Exp $ .if !defined(GLIB2_HACKS_MK) GLIB2_HACKS_MK= # defined @@ -32,4 +32,13 @@ PKG_HACKS+= sunpro-visibility CONFIGURE_ARGS+= --disable-visibility .endif +# +# GLib2>=2.36 depends on builtin functions which enabled with i486 and +# later with GCC. +# +.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5]*-i386) +GNU_ARCH.i386= i486 +CFLAGS+= -march=i486 +.endif + .endif |