From 0c3930d0768943ad1dedb5a6ace250ce9b65915c Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 1 Jul 2024 07:30:38 +0200 Subject: 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. Reviewed-by: Tom Lane Reviewed-by: Andres Freund Discussion: https://www.postgresql.org/message-id/flat/fe3e200c-edee-44e0-a6e3-d45dca72873b%40eisentraut.org --- src/Makefile.global.in | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Makefile.global.in b/src/Makefile.global.in index a00c909681e..83b91fe9167 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -741,6 +741,7 @@ endif # ifdef COPT CFLAGS += $(COPT) + CXXFLAGS += $(COPT) LDFLAGS += $(COPT) endif -- cgit v1.2.3