Commit cb046c78 authored by Robin Randhawa's avatar Robin Randhawa

Turn the libc and libm rules into 'order-only' prequisites

These prerequisites are GNU Make terminology.

This change forces the libc rule to be executed first so that the headers that
the libm rule needs are available. The original setup was using 'normal'
prerequisites which occasionally resulted in bizarre build breakage,
especially on multi-core build hosts. Seen often on my 8-way SMP build

Note that this doesn't impede parallelisation of each rule indepent of
the other. It just serializes the rules themselves.

This fixes: redox-os/relibc#127
parent f6b36484
......@@ -22,7 +22,7 @@ SRC=\
.PHONY: all clean fmt install libc libm test
all: libc libm
all: | libc libm
cargo clean
Markdown is supported
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