From 88fbf0dacb7963a4e9af763e746769a5fc44dfcb Mon Sep 17 00:00:00 2001 From: heck Date: Tue, 10 Sep 2024 23:19:56 +0200 Subject: [PATCH] Builld: Define some project wide CXXFLAGS and translate them to the daisy core Makefile. Requires libDaisy core Makefile fix --- Makefile.conf | 2 ++ src/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/Makefile.conf b/Makefile.conf index d8caa64..2f42d64 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -17,6 +17,8 @@ OPT=-O3 LIBDAISY_DIR=../../heck_libDaisyWrong DAISYSP_DIR=../../heck_DaisySPWrong +CXXFLAGS+=-Wall -Wno-unused -Wno-reorder-ctor + ######### Overrides from build.conf ######### -include $(HERE)build.conf diff --git a/src/Makefile b/src/Makefile index 2f53156..e527aa0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -12,6 +12,7 @@ $(info TARGET_SRC: $(TARGET_SRC)) $(info CXX_SRC: $(CXX_SRC)) # libDaisy Makefile variables +CPPFLAGS=$(CXXFLAGS) SYSTEM_FILES_DIR=$(LIBDAISY_DIR)/core CPP_SOURCES=$(CXX_SRC)