diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-10-15 13:26:32 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-10-15 13:26:32 +0200 |
commit | c156b07da6e8550f989919c3a015acdedfe8664f (patch) | |
tree | a9050c294e6fc2cda1f7b068334ef545d8109444 | |
parent | d7b8b5c0b8751caf5b51622f2329b363ecabc267 (diff) |
Adjust to current build environment
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | README | 3 | ||||
-rw-r--r-- | site.exp (renamed from systemtest/config/unix.exp) | 0 |
3 files changed, 6 insertions, 4 deletions
@@ -3,7 +3,7 @@ PROJECTNAME=minicc VERSION=$(shell dpkg-parsechangelog --show-field Version) DISTROS=base #debian10 ubuntu2004 ubuntu2010 -CXX=clang++-11 +CXX=clang++ #CXX=g++-10 #CXXFLAGS=-O2 -DNDEBUG @@ -14,8 +14,7 @@ CXXFLAGS=-O0 -g -D_DEBUG CXXFLAGS+= -Wall -I. -std=c++20 CXXFLAGS+= -fPIE -DVERSION=\"$(VERSION)\" - -ifeq ($(CXX),clang++-11) +ifeq ($(CXX),clang++) CXXFLAGS+=-stdlib=libc++ endif @@ -31,7 +30,7 @@ LIBS=\ -lboost_regex \ -lpthread -ifeq ($(CXX),clang++-11) +ifeq ($(CXX),clang++) LIBS+= \ -fuse-ld=lld-11 \ -lc++ \ @@ -7,6 +7,9 @@ Build make clean - Clean all make - Build all make systemtest - Run all system tests +make unittest - Run all unit tests +make test - Run all tests + Run --- diff --git a/systemtest/config/unix.exp b/site.exp index 1bd9310..1bd9310 100644 --- a/systemtest/config/unix.exp +++ b/site.exp |