Module: xenomai-3
Branch: stable-3.0.x
Commit: cbc6b87bed0fe7d6d932d943fc8ca0fb49bb5b71
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cbc6b87bed0fe7d6d932d943fc8ca0fb49bb5b71

Author: Marek Vasut <ma...@denx.de>
Date:   Tue Dec 19 13:43:15 2017 +0100

utils/can: Fix Makefile.am

Prefix CPPFLAGS and LDFLAGS with AM_ to make automake actually
use those and propagate external CPPFLAGS and LDFLAGS settings
into the build.

Signed-off-by: Marek Vasut <ma...@denx.de>

---

 utils/can/Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/can/Makefile.am b/utils/can/Makefile.am
index 570758d..561dc71 100644
--- a/utils/can/Makefile.am
+++ b/utils/can/Makefile.am
@@ -4,11 +4,11 @@ bin_PROGRAMS = rtcanrecv rtcansend
 
 CCLD = $(top_srcdir)/scripts/wrap-link.sh $(CC)
 
-CPPFLAGS =                                             \
+AM_CPPFLAGS =                                          \
        @XENO_USER_CFLAGS@                              \
        -I$(top_srcdir)/include
 
-LDFLAGS = @XENO_AUTOINIT_LDFLAGS@ $(XENO_POSIX_WRAPPERS)
+AM_LDFLAGS = @XENO_AUTOINIT_LDFLAGS@ $(XENO_POSIX_WRAPPERS)
 
 rtcanconfig_SOURCES = rtcanconfig.c
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to