build: Fix linker path

Use -B for the linker since some architectures use extra start files defined by
the GCC specification and provided by the BSP, for example powerpc.  Start
files are not found by -L.

In the long run, the GCC defined start files should be provided by GCC.  This
is a GCC 11 topic.

Update #3818
This commit is contained in:
Sebastian Huber
2020-09-20 13:45:42 +02:00
parent da27e962b1
commit 2b1a4ac84f

View File

@@ -23,8 +23,8 @@ content: |
Version: ${RTEMS_VERSION}
Description: RTEMS BSP ${ARCH}/${BSP_NAME}
Cflags: $${ABI_FLAGS} -I$${includedir}
Ldflags: -L$${libdir} ${PKGCONFIG_LDFLAGS}
Libs: -L$${libdir} ${PKGCONFIG_LDFLAGS}
Ldflags: -B$${libdir} ${PKGCONFIG_LDFLAGS}
Libs: -B$${libdir} ${PKGCONFIG_LDFLAGS}
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true