mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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:
committed by
Kinsey Moore
parent
34ba74f4f4
commit
f7de6d5425
@@ -25,8 +25,8 @@ content: |
|
|||||||
Version: ${RTEMS_VERSION}
|
Version: ${RTEMS_VERSION}
|
||||||
Description: RTEMS BSP ${ARCH}/${BSP_NAME}
|
Description: RTEMS BSP ${ARCH}/${BSP_NAME}
|
||||||
Cflags: $${ABI_FLAGS} -isystem$${includedir}
|
Cflags: $${ABI_FLAGS} -isystem$${includedir}
|
||||||
Ldflags: -B$${libdir} ${PKGCONFIG_LDFLAGS}
|
Ldflags: $${ABI_FLAGS} -B$${libdir} ${PKGCONFIG_LDFLAGS}
|
||||||
Libs: -B$${libdir} ${PKGCONFIG_LDFLAGS}
|
Libs: $${ABI_FLAGS} -B$${libdir} ${PKGCONFIG_LDFLAGS}
|
||||||
copyrights:
|
copyrights:
|
||||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
||||||
enabled-by: true
|
enabled-by: true
|
||||||
|
|||||||
Reference in New Issue
Block a user