spec/pkgconfig: Account for separate compilation and linking

When compilation and linking are performed separately, some platforms
(i.e. RISC-V) may require that ABI flags are provided during the linking
step as well as the compilation step.

Closes #5183
This commit is contained in:
Kinsey Moore
2025-01-14 15:37:46 -06:00
committed by Kinsey Moore
parent 34ba74f4f4
commit f7de6d5425

View File

@@ -25,8 +25,8 @@ content: |
Version: ${RTEMS_VERSION}
Description: RTEMS BSP ${ARCH}/${BSP_NAME}
Cflags: $${ABI_FLAGS} -isystem$${includedir}
Ldflags: -B$${libdir} ${PKGCONFIG_LDFLAGS}
Libs: -B$${libdir} ${PKGCONFIG_LDFLAGS}
Ldflags: $${ABI_FLAGS} -B$${libdir} ${PKGCONFIG_LDFLAGS}
Libs: $${ABI_FLAGS} -B$${libdir} ${PKGCONFIG_LDFLAGS}
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
enabled-by: true