pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2005Q2]: pkgsrc/mk/wrapper Pullup ticket 629 - requested by gr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2e871df1d2d
branches:  pkgsrc-2005Q2
changeset: 495916:b2e871df1d2d
user:      snj <snj%pkgsrc.org@localhost>
date:      Fri Jul 29 07:33:59 2005 +0000

description:
Pullup ticket 629 - requested by grant beattie
infrastructure fixes for sunpro

Revisions pulled up:
- pkgsrc/mk/wrapper/transform-sunpro-cc 1.3-1.4

    Module Name:    pkgsrc
    Committed By:   grant
    Date:           Mon Jul  4 09:48:31 UTC 2005

    Modified Files:
            pkgsrc/mk/wrapper: transform-sunpro-cc

    Log Message:
    sunpro needs the -mt -lpthread arguments for POSIX threads according
    to cc(1). modify the -pthread transform accordingly.
----
    Module Name:    pkgsrc
    Committed By:   grant
    Date:           Tue Jul  5 08:45:25 UTC 2005

    Modified Files:
            pkgsrc/mk/wrapper: transform-sunpro-cc

    Log Message:
    ignore more gcc-specific arguments:

            -fomit-frame-pointer
            -fwriteable-strings
            -traditional

diffstat:

 mk/wrapper/transform-sunpro-cc |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 3ab4cf66bb7a -r b2e871df1d2d mk/wrapper/transform-sunpro-cc
--- a/mk/wrapper/transform-sunpro-cc    Fri Jul 29 07:24:39 2005 +0000
+++ b/mk/wrapper/transform-sunpro-cc    Fri Jul 29 07:33:59 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-sunpro-cc,v 1.2 2004/11/10 16:20:40 sketch Exp $
+# $NetBSD: transform-sunpro-cc,v 1.2.8.1 2005/07/29 07:33:59 snj Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -102,18 +102,18 @@
        addtocache=yes
        ;;
 ######################################################################
-# SunPro doesn't understand -pthread, and only -lpthread is needed on
-# Solaris.
+# SunPro needs -mt -lpthread for POSIX threads.
 ######################################################################
 -pthread)
-       arg="-lpthread"
+       arg="-mt -lpthread"
        msg_log $wrapperlog "   (transform-sunpro-cc) to: $arg"
        addtocache=yes
+       split_arg=yes
        ;;
 ######################################################################
 # Ignore some flags that are unnecessary for SunPro.
 ######################################################################
--ansi|-fno-gnu-keywords|-fstrict-prototypes|-pedantic)
+-ansi|-fno-gnu-keywords|-fomit-frame-pointer|-fstrict-prototypes|-fwriteable-strings|-pedantic|-traditional)
        arg=
        msg_log $wrapperlog "   (transform-sunpro-cc) to: $arg"
        addtocache=yes



Home | Main Index | Thread Index | Old Index