[PATCH 7/9] [waf] Add -I and -L flags to pkgconfig for Clang/LLVM

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Apr 10 18:09:05 UTC 2020


Hello,

On 10/04/2020 12:39, Hesham Almatary wrote:
> ---
>   spec/build/bsps/RTEMS-BUILD-BSP-PKGCONFIG.yml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/spec/build/bsps/RTEMS-BUILD-BSP-PKGCONFIG.yml b/spec/build/bsps/RTEMS-BUILD-BSP-PKGCONFIG.yml
> index aa8a874235..128cd7d302 100644
> --- a/spec/build/bsps/RTEMS-BUILD-BSP-PKGCONFIG.yml
> +++ b/spec/build/bsps/RTEMS-BUILD-BSP-PKGCONFIG.yml
> @@ -18,7 +18,7 @@ content: |
>     Version: ${RTEMS_VERSION}
>     Description: RTEMS BSP ${ARCH}/${BSP_NAME}
>     Libs:
> -  Cflags: -qrtems --specs bsp_specs -B$${libdir} $${CFLAGS}
> +  Cflags: -qrtems -I$${libdir}/include -L$${libdir} -B$${libdir} $${CFLAGS}
>   derived: false
>   enabled-by: []
>   header: ''

this breaks the GCC support unless we get rid of the bsp_specs in GCC 10.

What does clang do with the -B flags?



More information about the devel mailing list