Consistently use -o a.out (spotted by Ivan Pozdeev) master
authorH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Thu, 30 Jul 2015 08:46:03 +0000 (10:46 +0200)
committerH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Thu, 30 Jul 2015 08:46:03 +0000 (10:46 +0200)
U/perl/dlsrc.U

index bced30d..7a0c776 100644 (file)
@@ -209,7 +209,7 @@ int main() {
     exit(1); /* fail */
 }
 EOM
-       if $cc $ccflags $ldflags try.c >/dev/null 2>&1 && $run ./a.out; then
+       if $cc $ccflags $ldflags -o a.out try.c >/dev/null 2>&1 && $run ./a.out; then
            bin_ELF="$define"
        fi
        $rm_try