summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake/unit-cc.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/unit-cc.pl b/make/unit-cc.pl
index 311c4c260..18e60d759 100755
--- a/make/unit-cc.pl
+++ b/make/unit-cc.pl
@@ -78,7 +78,7 @@ sub do_link_dir {
for my $file (<$dir/*.cpp>) {
$link_flags .= rpath(get_directive($file, 'LinkerFlags', '')) . ' ';
}
- my $execstr = "$ENV{CXX} -o $out $ENV{PICLDFLAGS} $link_flags @_";
+ my $execstr = "$ENV{CXX} -o $out $ENV{PICLDFLAGS} @_ $link_flags";
message 'LINK', $out, $execstr;
exec $execstr;
}