From 8f71d07ee118a3a6f97da3ec4f5836332384442f Mon Sep 17 00:00:00 2001
From: ethbaat <jeno.balasko@ericsson.com>
Date: Thu, 14 Apr 2016 10:39:30 +0200
Subject: [PATCH] Forward LD & CXXFLAGS to hello/Makefile (req: Thomas Herrlin)

Signed-off-by: ethbaat <jeno.balasko@ericsson.com>
---
 hello/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hello/Makefile b/hello/Makefile
index 7a3c30004..8ac8c4a4f 100644
--- a/hello/Makefile
+++ b/hello/Makefile
@@ -37,6 +37,7 @@ else
 	cd $(DEMODIR) && $(BINDIR)/ttcn3_makefilegen $(MAKEFILEGENFLAGS) \
 	-o Makefile.tmp $(DEMOFILES) && \
 	sed -e 's/# TTCN3_DIR =/TTCN3_DIR =/' <Makefile.tmp >Makefile && \
-	$(RM) Makefile.tmp && $(MAKE) CXX='$(CXX)' && \
+	$(RM) Makefile.tmp && \
+	$(MAKE) CXX='$(CXX)' CXXFLAGS='$(CXXFLAGS)' LDFLAGS='$(LDFLAGS)' && \
 	(sleep 5 && echo 'Hello, TTCN-3!') | ttcn3_start MyExample MyExample.cfg
 endif
-- 
GitLab