diff options
author | rillig <rillig@pkgsrc.org> | 2006-11-11 07:00:57 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-11-11 07:00:57 +0000 |
commit | 46aab65a30b4e7520f65a699b84ef5ba05ef9433 (patch) | |
tree | 2aee2f2f0a9a5a1295367f060acd91369bef2373 /mk/wrapper | |
parent | b3d9b281cc00976e69279868cac85529eee0a0a7 (diff) | |
download | pkgsrc-46aab65a30b4e7520f65a699b84ef5ba05ef9433.tar.gz |
Made the SunPro compiler understand gcc's -MM option for generating
Makefile dependencies.
Diffstat (limited to 'mk/wrapper')
-rw-r--r-- | mk/wrapper/transform-sunpro-cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/wrapper/transform-sunpro-cc b/mk/wrapper/transform-sunpro-cc index 792ab208b58..2a61bd6a799 100644 --- a/mk/wrapper/transform-sunpro-cc +++ b/mk/wrapper/transform-sunpro-cc @@ -1,4 +1,4 @@ -# $NetBSD: transform-sunpro-cc,v 1.13 2006/10/26 07:01:46 rillig Exp $ +# $NetBSD: transform-sunpro-cc,v 1.14 2006/11/11 07:00:57 rillig Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -35,6 +35,11 @@ # POSSIBILITY OF SUCH DAMAGE. case $arg in +-MM) # Create dependency lines for Makefiles + arg="-xM1" + $debug_log $wrapperlog " (transform-sunpro-cc) to: $arg" + addtocache=yes + ;; ###################################################################### # SunPro can handle -xO<n> (n={1|2|3|4|5}), so optimistically convert # those GCC -O<n> values to -xO<n>. |