From dbd1f09836e59fe163f72c4170d628f302bf5587 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 17 Jun 2024 10:33:19 +0200 Subject: [PATCH] Apply COPT to CXXFLAGS as well The main use of that make variable is to pass in -Werror. It makes sense to apply this to C++ as well. --- src/Makefile.global.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 0a0ba0719f5..42f50b49761 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -742,6 +742,7 @@ endif # ifdef COPT CFLAGS += $(COPT) + CXXFLAGS += $(COPT) LDFLAGS += $(COPT) endif -- 2.45.2