From 06d41e3eb782dc9d6d44477be0628bbce0e56297 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Sun, 24 Feb 2013 00:35:52 +0100 Subject: Fix listener bug triggered by never versions of cxxtools reported in bug #1066 --- pages/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pages/Makefile') diff --git a/pages/Makefile b/pages/Makefile index 9a1129c..78a4a9c 100644 --- a/pages/Makefile +++ b/pages/Makefile @@ -5,6 +5,7 @@ PLUGIN = live ### Additional options to silence TNTNET warnings TNTFLAGS ?= -Wno-overloaded-virtual -Wno-unused-variable TNTVERSION ?= $(shell tntnet-config --version | sed -e's/\.//g' | sed -e's/pre.*//g' | awk '/^..$$/ { print $$1."000"} /^...$$/ { print $$1."00"} /^....$$/ { print $$1."0" } /^.....$$/ { print $$1 }') +CXXTOOLVER ?= $(shell cxxtools-config --version | sed -e's/\.//g' | sed -e's/pre.*//g' | awk '/^..$$/ { print $$1."000"} /^...$$/ { print $$1."00"} /^....$$/ { print $$1."0" } /^.....$$/ { print $$1 }') ### The C++ compiler and options: @@ -13,7 +14,7 @@ AR ?= ar ECPPC ?= ecppc CXXFLAGS ?= -O2 -Woverloaded-virtual -Wall -fPIC -DEFINES ?= -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -DTNTVERSION=$(TNTVERSION) +DEFINES ?= -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -DTNTVERSION=$(TNTVERSION) -DCXXTOOLVER=$(CXXTOOLVER) ### The directory environment: -- cgit v1.2.3