[rtems commit] libtests/Makefile.am: Add CPU_CFLAGS to rtems-ld invocation
Joel Sherrill
joel at rtems.org
Sun Oct 14 21:57:28 UTC 2018
Module: rtems
Branch: master
Commit: 632bb17556e1cecdc4fe723810dcdc1deec4d0f3
Changeset: http://git.rtems.org/rtems/commit/?id=632bb17556e1cecdc4fe723810dcdc1deec4d0f3
Author: Joel Sherrill <joel at rtems.org>
Date: Sun Oct 14 16:55:38 2018 -0500
libtests/Makefile.am: Add CPU_CFLAGS to rtems-ld invocation
closes #3401, #3402.
---
testsuites/libtests/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testsuites/libtests/Makefile.am b/testsuites/libtests/Makefile.am
index 240b04c..1ffab4e 100644
--- a/testsuites/libtests/Makefile.am
+++ b/testsuites/libtests/Makefile.am
@@ -487,7 +487,8 @@ dl06-o1.o: dl06/dl06-o1.c Makefile
dl06-o2.o: dl06/dl06-o2.c Makefile
$(AM_V_CC)$(COMPILE) -c -o $@ $<
dl06.rap: dl06.pre dl06-o1.o dl06-o2.o
- $(AM_V_GEN)rtems-ld -r $(RTEMS_BUILD_ROOT) -O rap -b $< -e rtems_main -s \
+ $(AM_V_GEN)rtems-ld -r $(RTEMS_BUILD_ROOT) -c "$(CPU_CFLAGS)" \
+ -O rap -b $< -e rtems_main -s \
-o $@ $(filter-out dl06.pre,$+) -lm
dl06.tar: dl06.rap
@rm -f $@
More information about the vc
mailing list