diff options
author | tnn <tnn@pkgsrc.org> | 2015-03-19 20:40:31 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-03-19 20:40:31 +0000 |
commit | dfb74a9d2e531a2da040d6ff2c637b759715c3b1 (patch) | |
tree | 2583939e3c66ad6f3f50fc90903c7a1c85975544 /devel/gmp | |
parent | 6d980678cb05d2a3cbca979dbfd60778af3e2163 (diff) | |
download | pkgsrc-dfb74a9d2e531a2da040d6ff2c637b759715c3b1.tar.gz |
Remove obsolete BUILDLINK_TRANSFORMs. The package does not set any of the
transformed compiler flags when built through pkgsrc because
config.guess overrides are in effect. Fixes build with cwrappers on i386.
Also add a comment that we should enable the runtime CPU detection support
on amd64 some time in the future.
Diffstat (limited to 'devel/gmp')
-rw-r--r-- | devel/gmp/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/gmp/Makefile b/devel/gmp/Makefile index f4b7f055414..0899cb3ca6d 100644 --- a/devel/gmp/Makefile +++ b/devel/gmp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.75 2014/09/10 10:41:13 richard Exp $ +# $NetBSD: Makefile,v 1.76 2015/03/19 20:40:31 tnn Exp $ DISTNAME= gmp-6.0.0a CATEGORIES= devel math @@ -57,8 +57,8 @@ PKG_SUPPORTED_OPTIONS= gmp-fat mmx simd PKG_SUGGESTED_OPTIONS= gmp-fat . include "../../mk/bsd.options.mk" ### -### Support for a "fat" binary on i386. There's CPU autodetection, -### so we'll be safe and filter out -march/-mcpu, et. al. +### Support for a "fat" binary on i386, with CPU autodetection. +### XXX this option should be provided for amd64 too! ### ### XXX Currently, the 'mmx' and 'simd' options imply the same thing, ### as cpu detection is done at runtime. Is there a more elegant @@ -70,8 +70,6 @@ PKG_OPTIONS+= gmp-fat . endif . if !empty(PKG_OPTIONS:Mgmp-fat) CONFIGURE_ARGS+= --enable-fat -BUILDLINK_TRANSFORM+= rm-optarg:-march rm-optarg:-mcpu -BUILDLINK_TRANSFORM+= rm:-mmmx rm:-msse rm:-msse2 rm:-msse3 rm:-m3dnow . endif . endif .endif |