diff options
authorDaniel Willmann <>2019-02-13 17:58:25 +0100
committerDaniel Willmann <>2019-02-13 18:08:29 +0100
commit6d9c57343bb4b2e1bafc19c8aec84fef4094798c (patch)
parentdb7fb8da951941a019f1032c7f36edcee8e802bd (diff)
Fix compilation on eclipse-titan 6.5.1daniel/titan-6_5-fix
Newer eclipse-titan makefilegen already sets CPPFLAGS like this: CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)/include$(TTCN3_SUBDIR) where TTCN3_SUBDIR expands to '/titan' and TTCN3_DIR to '/usr' If we add /titan after include we end up with -I/usr/include/titan/titan/ which will cause the compile to fail due to a missing TTCN3.hh include. Change-Id: If9fef29ce243be112d3735f0236335197f8f140f Related: OS#3179 Sponsored-by: On-Waves ehf.
1 files changed, 1 insertions, 1 deletions
diff --git a/ b/
index 5a4dd4c1..90bdc393 100755
--- a/
+++ b/
@@ -31,7 +31,7 @@ sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan /' Makefile
# The -DMAKEDEPEND_RUN is a workaround for Debian packaging issue,
# see for details
-sed -i -e 's/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include/CPPFLAGS = -D$(PLATFORM) -DMAKEDEPEND_RUN -DUSE_SCTP -I$(TTCN3_DIR)\/include -I\/usr\/include\/titan/' Makefile
+sed -i -e 's/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include/CPPFLAGS = -D$(PLATFORM) -DMAKEDEPEND_RUN -DUSE_SCTP -I$(TTCN3_DIR)\/include -I\/usr\/include/' Makefile
#remove -Wall from CXXFLAGS: we're not interested in generic warnings for autogenerated code cluttering the logs
sed -i -e 's/-Wall//' Makefile