Commit 63375e15 authored by József Gyürüsi's avatar József Gyürüsi
Browse files

[internal #0] makefile update patch to add -e -N to COMPILER_FLAGS (if not...


[internal #0] makefile update patch to add -e -N to COMPILER_FLAGS (if not already there) to support new titan versions

Change-Id: Id93928db1fe7b43de17760dd78c3ad4212da06ab
Signed-off-by: József Gyürüsi's avatarJózsef Gyürüsi <jozsef.gyurusi@ericsson.com>
parent ab30c8b6
......@@ -20,6 +20,8 @@ if [[ "$TTCN_COMPILER_SUPPORTS_N" != "" ]]
then
TTCN_COMPILER_SUPPORTS_N='-N'
fi
SED_CMD="s/COMPILER_FLAGS =/COMPILER_FLAGS = $TTCN_COMPILER_SUPPORTS_E $TTCN_COMPILER_SUPPORTS_N/g"
# only add if not already there:
SED_CMD_N="/$TTCN_COMPILER_SUPPORTS_N/!s/COMPILER_FLAGS =/COMPILER_FLAGS = $TTCN_COMPILER_SUPPORTS_N/g"
SED_CMD_E="/$TTCN_COMPILER_SUPPORTS_E/!s/COMPILER_FLAGS =/COMPILER_FLAGS = $TTCN_COMPILER_SUPPORTS_E/g"
sed -e "$SED_CMD"
sed -e "$SED_CMD_N" | sed -e "$SED_CMD_E"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment