From: Nicholas Clark Date: Tue, 30 Apr 2013 14:19:15 +0000 (+0200) Subject: Add a space after -o to keep Darwin's g++ happy, in t/porting/extrefs.t X-Git-Tag: v5.18.0-RC1~89^2 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/128e8abda5a00064f5533d8e7249c08029fd0dab Add a space after -o to keep Darwin's g++ happy, in t/porting/extrefs.t Darwin's g++ 4.2.1 is fussy. FreeBSD's g++ 4.2.1 is not. Hateful software. --- diff --git a/t/porting/extrefs.t b/t/porting/extrefs.t index 10a4f6f..44d190e 100644 --- a/t/porting/extrefs.t +++ b/t/porting/extrefs.t @@ -78,7 +78,10 @@ sub try_compile_and_link { my $errornull = $VERBOSE ? '' : ">$null 2>$null"; - my $out_opt = "-o"; + # Darwin g++ 4.2.1 is fussy and demands a space. + # FreeBSD g++ 4.2.1 does not. + # We do not know the reaction of either to the presence of brown M&Ms. + my $out_opt = "-o "; if ($^O eq "MSWin32" && $Config{cc} =~ /\bcl\b/i) { $out_opt = "/Fe"; }