diff options
author | tnn <tnn> | 2015-03-19 20:40:31 +0000 |
---|---|---|
committer | tnn <tnn> | 2015-03-19 20:40:31 +0000 |
commit | d4d87a63244ae09905e5fd3458e7e4e869b8f8ea (patch) | |
tree | 2583939e3c66ad6f3f50fc90903c7a1c85975544 /devel/gmp | |
parent | b4f900001affee8bc8ce0523c63f616264e43d1d (diff) | |
download | pkgsrc-d4d87a63244ae09905e5fd3458e7e4e869b8f8ea.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 |