diff options
author | Mike Hommey <mh@glandium.org> | 2020-08-14 11:29:08 +0900 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-08-14 11:09:19 +0200 |
commit | 802561e1779b188594527d400d44b37a79faadbe (patch) | |
tree | 9595b46ae50bfcb86ff64c77e8b6280d7fb3e93b /src/codegen/helpers.rs | |
parent | d55b063e8010a3acf5c2a549a1d2d7c238286314 (diff) |
Add --target to the clang args earlier
Because the --target was passed after the include path detection, in
cases of cross-compilation, the include path detection would add paths
relevant to the host (e.g. /usr/include/x86_64_linux-gnu on x86_64 linux
while targeting something else), possibly breaking things along the way.
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions