---
 spec/build/bsps/RTEMS-BUILD-BSP-OPTLDFLAGS.yml  | 2 --
 spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTGCC.yml | 6 ++++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/spec/build/bsps/RTEMS-BUILD-BSP-OPTLDFLAGS.yml 
b/spec/build/bsps/RTEMS-BUILD-BSP-OPTLDFLAGS.yml
index 75d4f6637f..85b53c2eec 100644
--- a/spec/build/bsps/RTEMS-BUILD-BSP-OPTLDFLAGS.yml
+++ b/spec/build/bsps/RTEMS-BUILD-BSP-OPTLDFLAGS.yml
@@ -1,8 +1,6 @@
 actions:
 - set-value:
   - -qrtems
-  - -specs
-  - bsp_specs
   - -B${TOP}/bsps/${ARCH}/shared/start
   - -B${TOP}/bsps/${ARCH}/${BSP_FAMILY}/start
 - substitute: null
diff --git a/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTGCC.yml 
b/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTGCC.yml
index 246e8df180..e77cafa5e4 100644
--- a/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTGCC.yml
+++ b/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTGCC.yml
@@ -18,6 +18,12 @@ actions:
 - substitute: null
 - find-program: null
 - env-assign: LD
+- set-value:
+  - -specs
+  - bsp_specs
+  - -B${TOP}/bsps/${ARCH}/shared/start
+  - -B${TOP}/bsps/${ARCH}/${BSP_FAMILY}/start
+- env-append: LDFLAGS
 - script: |
     load = "ar g++ gas gcc"
     if not is_windows_host:
--
2.17.1

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to