Commit 290d9ac3 authored by Guillaume Huard's avatar Guillaume Huard
Browse files

compilation flags order...

parent b84c7213
......@@ -35,7 +35,7 @@ do
objcopy -W main $base.o
fi
done
$CC $CFLAGS $LDLIBS $GENERATED_FILES -o $NAME || end $?
$CC $CFLAGS $GENERATED_FILES $LDLIBS -o $NAME || end $?
end 0
};
......@@ -45,7 +45,7 @@ sub C_compilation() {
sub C_function_call($) {
my $name = shift;
return "#!/bin/bash\nset -x\nfunction=$name\n".q{
return "#!/bin/bash\nfunction=$name\n".q{
dir=$(mktemp -d /tmp/programXXXXXX)
FILES="$FILES $dir/main.c"
REMOVE="$dir"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment