don't link with boost anymore as regex is handled by std now
This commit is contained in:
parent
c1991f15a3
commit
d671bc15e2
@ -2,10 +2,8 @@ FROM alpine:edge
|
|||||||
RUN apk update
|
RUN apk update
|
||||||
RUN apk upgrade
|
RUN apk upgrade
|
||||||
RUN apk add sqlite-dev
|
RUN apk add sqlite-dev
|
||||||
RUN apk add boost-regex
|
|
||||||
RUN apk add openssl-dev
|
RUN apk add openssl-dev
|
||||||
RUN apk add make g++
|
RUN apk add make g++
|
||||||
RUN apk add boost-dev
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN adduser -D qswiki
|
RUN adduser -D qswiki
|
||||||
|
2
Makefile
2
Makefile
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
CXXFLAGS=-std=c++17 -O0 -g -no-pie -pipe -MMD -Wall -Wextra
|
CXXFLAGS=-std=c++17 -O0 -g -no-pie -pipe -MMD -Wall -Wextra
|
||||||
RELEASE_CXXFLAGS=-std=c++17 -O3 -pipe -MMD -Wall -Wextra
|
RELEASE_CXXFLAGS=-std=c++17 -O3 -pipe -MMD -Wall -Wextra
|
||||||
LDFLAGS=-lsqlite3 -lpthread -lcrypto -lboost_regex -lstdc++fs -lseccomp
|
LDFLAGS=-lsqlite3 -lpthread -lcrypto -lstdc++fs -lseccomp
|
||||||
|
|
||||||
CXX=g++
|
CXX=g++
|
||||||
|
|
||||||
|
1
parser.h
1
parser.h
@ -1,6 +1,5 @@
|
|||||||
#ifndef PARSER_H
|
#ifndef PARSER_H
|
||||||
#define PARSER_H
|
#define PARSER_H
|
||||||
#include <boost/regex.hpp>
|
|
||||||
#include "iparser.h"
|
#include "iparser.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ SOFTWARE.
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <boost/regex.hpp>
|
|
||||||
#include "logger.h"
|
#include "logger.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user