pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/wrapper Recognize -m32. Change reundant -kPIC to -k...
details: https://anonhg.NetBSD.org/pkgsrc/rev/05eeacd7b936
branches: trunk
changeset: 397524:05eeacd7b936
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Aug 15 13:36:48 2009 +0000
description:
Recognize -m32. Change reundant -kPIC to -kpic to match the set.
diffstat:
mk/wrapper/transform-gcc | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 170cd4f3c062 -r 05eeacd7b936 mk/wrapper/transform-gcc
--- a/mk/wrapper/transform-gcc Sat Aug 15 08:33:26 2009 +0000
+++ b/mk/wrapper/transform-gcc Sat Aug 15 13:36:48 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-gcc,v 1.19 2008/02/19 16:50:11 tnn Exp $
+# $NetBSD: transform-gcc,v 1.20 2009/08/15 13:36:48 joerg Exp $
#
# This file handles the transformations needed for gcc that can be done
# looking at only one argument at a time.
@@ -45,8 +45,9 @@
-ggdb |\
-M |\
-M[DFMPT] |\
+-MMD |\
+-m32 |\
-m64 |\
--MMD |\
-mabi=* |\
-march=* |\
-mcpu=* |\
@@ -123,7 +124,7 @@
# Other compiler's options that have corresponding GCC options.
-Kpic |\
--kPIC |\
+-kpic |\
-KPIC |\
-kPIC ) transform_to "-fPIC" ;;
-mt ) transform_to "-threads" ;;
Home |
Main Index |
Thread Index |
Old Index