From 11f6903b4bac951d527e57e0077f719b602c7a6e Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 23 Feb 2022 14:46:21 -0500 Subject: Fixed issue with override and export on same variable --- Makefile | 1 - src/lib/Makefile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bc42913..1b88242 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ export version = 1.0.2 override CXXFLAGS += -MMD -Wall -std=c++20 -export CXXFLAGS override LDFLAGS += -Lsrc/lib -lbible SOURCES = $(wildcard src/*.cc) OBJECTS = $(SOURCES:.cc=.o) diff --git a/src/lib/Makefile b/src/lib/Makefile index 8084d3f..4f0d2cf 100644 --- a/src/lib/Makefile +++ b/src/lib/Makefile @@ -1,5 +1,5 @@ LIBS = sword minizip -override CXXFLAGS += -fPIC `pkg-config $(LIBS) --cflags` +override CXXFLAGS += -MMD -Wall -std=c++20 -fPIC `pkg-config $(LIBS) --cflags` override LDFLAGS += -lstdc++fs `pkg-config $(LIBS) --libs` SOURCES = $(wildcard *.cc) OBJECTS = $(SOURCES:.cc=.o) -- cgit v1.2.3