[PATCH 6/9] [waf][clang] Add required -target flag to ABI_FLAGS

Hesham Almatary Hesham.Almatary at cl.cam.ac.uk
Fri Apr 10 10:39:33 UTC 2020


---
 spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTCLANG.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTCLANG.yml b/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTCLANG.yml
index cac645e5ee..c5b218b5b1 100644
--- a/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTCLANG.yml
+++ b/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTCLANG.yml
@@ -22,6 +22,9 @@ actions:
 - set-value:
   - -o
 - env-assign: ASLNK_TGT_F
+- set-value: --target=${ARCH}${ARCH_BITS}-unknown-rtems${__RTEMS_MAJOR__}
+- substitute: null
+- env-append: ABI_FLAGS
 - script: |
     load = "ar asm clang clang++"
     if not is_windows_host:
--
2.17.1



More information about the devel mailing list