X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=make%2Funit-cc.pl;h=18e60d7597ad31a4b0d1fa12a0a20b68c615390a;hb=daf3be301d0181d14d1310b3ab5f79c8a85dfb46;hp=311c4c2607fa922520efae5fe2d4a85ef30d01e7;hpb=77730fd5f09f8fc193205654c8bba84d34365670;p=user%2Fhenk%2Fcode%2Finspircd.git 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; }