projectcalico / bird

Calico's fork of the BIRD protocol stack
91 stars 86 forks source link

Build entirely in separate dir per arch to avoid .o conflicts #67

Closed deitch closed 6 years ago

deitch commented 6 years ago

Description

When running builds for multiple architectures, sometimes the lingering *.o files from a different arch do not get removed, making it impossible to link a binary for the currently targeted arch.

This PR moves all of the builds into obj/<arch>/, thus eliminating any possible conflicts.

cc @fasaxc