Merge pull request #4 from KaneRoot/master

Changes flags order for C binaries.
master
Luka Vandervelden 2019-11-14 17:52:41 +01:00 committed by GitHub
commit 1e613c3422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ function binary.build {
done
write " ${depends[$target]} $(dirdep $target)"
write "\t@echo '$(LD ${target})'"
write -n "\t$Q\$(CC) -o ${target} \$(LDFLAGS)"
write -n " ${src[@]//.c/.o}"
write " ${ldflags[$target]}"
write -n "\t$Q\$(CC) -o ${target}"
write -n "${ldflags[$target]}"
write -n " ${src[@]//.c/.o} \$(LDFLAGS)"
write
for i in ${src[@]}; do