Merge pull request #4 from KaneRoot/master
Changes flags order for C binaries.
This commit is contained in:
commit
1e613c3422
@ -20,9 +20,9 @@ function binary.build {
|
|||||||
done
|
done
|
||||||
write " ${depends[$target]} $(dirdep $target)"
|
write " ${depends[$target]} $(dirdep $target)"
|
||||||
write "\t@echo '$(LD ${target})'"
|
write "\t@echo '$(LD ${target})'"
|
||||||
write -n "\t$Q\$(CC) -o ${target} \$(LDFLAGS)"
|
write -n "\t$Q\$(CC) -o ${target}"
|
||||||
write -n " ${src[@]//.c/.o}"
|
write -n "${ldflags[$target]}"
|
||||||
write " ${ldflags[$target]}"
|
write -n " ${src[@]//.c/.o} \$(LDFLAGS)"
|
||||||
write
|
write
|
||||||
|
|
||||||
for i in ${src[@]}; do
|
for i in ${src[@]}; do
|
||||||
|
Loading…
Reference in New Issue
Block a user