[PATCH] clang: Keep -qrtems and -B for compilers without -specs support

2018-09-19 Thread Daniel Hellstrom
From: Jacob Hansen This is needed for building rtems correctly with Clang. Note that this change does not mean rtems can build correctly with mainline clang. However the change allows building rtems with a Clang toolchain that has a rtems frontend similar that of GCC's builtin rtems specs. ---

Re: [PATCH] clang: Keep -qrtems and -B for compilers without -specs support

2018-09-19 Thread Joel Sherrill
Just an aside that I have done a fair amount of clean up on the bsp_specs on a local branch with corresponding GCC patches to begin to eliminate the need for them. I think the x86_64 tools are built with a subset of that patch and have an empty bsp_specs. Hopefully after the next rtems release I c

Re: [PATCH] clang: Keep -qrtems and -B for compilers without -specs support

2018-09-19 Thread Sebastian Huber
On 19/09/2018 17:43, Joel Sherrill wrote: Just an aside that I have done a fair amount of clean up on the bsp_specs on a local branch with corresponding GCC patches to begin to eliminate the need for them. I think the x86_64 tools are built with a subset of that patch and have an empty bsp_sp