$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 '; }