summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-20 13:45:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-20 17:32:10 +0200
commit2b1a4ac84fd5fee86426fcb56ca0e78e94599eca (patch)
tree73a86b3a54ebf86f423112471c6c26ccc50da19d
parentda27e962b1bcb478da0d6ef370141f532661d17d (diff)
downloadrtems-2b1a4ac84fd5fee86426fcb56ca0e78e94599eca.tar.bz2
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
-rw-r--r--spec/build/bsps/pkgconfig.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/build/bsps/pkgconfig.yml b/spec/build/bsps/pkgconfig.yml
index 6240ce7ab0..a9462fcc95 100644
--- a/spec/build/bsps/pkgconfig.yml
+++ b/spec/build/bsps/pkgconfig.yml
@@ -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