diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 2 | ||||
-rw-r--r-- | src/webbox.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index 03fbe53..253574f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2,7 +2,7 @@ ARCH=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) TARGET=query # gnu++17 since gcc 5 STANDARD=$(shell g++ -std=gnu++17 -E -x c++ - < /dev/null > /dev/null 2>/dev/null && echo "-std=gnu++17" || echo "-std=gnu++14") -CPPFLAGS=-Wall -O2 $(STANDARD) -fPIC -I/usr/include/$(ARCH)/qt5 -I/usr/include/$(ARCH)/qt5/QtCore +CPPFLAGS=-Wall -O2 $(STANDARD) -fPIC -DPROGRAMVERSION=$(VERSION) -I/usr/include/$(ARCH)/qt5 -I/usr/include/$(ARCH)/qt5/QtCore LDFLAGS=-Wall -O2 $(STANDARD) -fPIC LIBS=-lstdc++ -lfcgi -lQt5Core OBJS=webbox.o diff --git a/src/webbox.cpp b/src/webbox.cpp index 4afcb66..46023d9 100644 --- a/src/webbox.cpp +++ b/src/webbox.cpp @@ -13,7 +13,6 @@ #include <QUrlQuery> #include <QPair> -#define PROGRAMVERSION "1.6" #define BUFSIZE 1000000 // XML special characters: |