pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gmp Remove obsolete BUILDLINK_TRANSFORMs. The pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df3fe0840c69
branches:  trunk
changeset: 648812:df3fe0840c69
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu Mar 19 20:40:31 2015 +0000

description:
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:

 devel/gmp/Makefile |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 1ed0c4624957 -r df3fe0840c69 devel/gmp/Makefile
--- a/devel/gmp/Makefile        Thu Mar 19 20:24:13 2015 +0000
+++ b/devel/gmp/Makefile        Thu Mar 19 20:40:31 2015 +0000
@@ -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_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 @@
 .    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



Home | Main Index | Thread Index | Old Index