summaryrefslogtreecommitdiff
path: root/lang/parrot/patches/patch-aa
blob: 462d26f5dbb6d5037c168f9dc79aa7441983e392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.6 2013/09/13 10:40:59 sno Exp $

Also skip -Wno-long-double on MacOS X 10.8

--- config/init/hints/darwin.pm.orig	2013-01-28 19:57:42.000000000 +0000
+++ config/init/hints/darwin.pm
@@ -45,7 +45,7 @@ sub runstep {
     $flags->{ldflags} .= ' -L"' . $lib_dir . '"';
 
     $flags->{ccflags} .= ' -pipe -fno-common ';
-    if ($deploy_target !~ /^10\.(5|6|7)$/ and !$conf->options->get('cc')) {
+    if ($deploy_target !~ /^10\.(5|6|7|8)$/ and !$conf->options->get('cc')) {
         # Only apple cc understands -Wno-long-double, macports gcc not
         $flags->{ccflags} .= '-Wno-long-double ';
     }