dlecan / rust-crosscompiler-arm

Docker images for Rust dedicated to cross compilation for ARM v6 and more
MIT License
50 stars 16 forks source link

Specify vendor-supplied system header files via '-isystem'. #2

Closed frewsxcv closed 8 years ago

frewsxcv commented 8 years ago

https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html

frewsxcv commented 8 years ago

I have my own OpenSSL headers in my own project that should be used instead of the supplied headers. Using -I will cause redefinition compiler errors to appear. By using -isystem, I'm able to use my own headers without errors.

dlecan commented 8 years ago

Ok, let's try this option.