this flag is for C++ only
authormirabilos <tg@debian.org>
Tue, 29 Dec 2020 18:16:04 +0000 (19:16 +0100)
committermirabilos <mirabilos@evolvis.org>
Tue, 29 Dec 2020 18:16:04 +0000 (19:16 +0100)
debian/rules

index ee32fa6..7491b0c 100755 (executable)
@@ -32,7 +32,7 @@ OUR_LDFLAGS:=
 
 # unclutter build log; these are upstream’s to fix
 OUR_CPPFLAGS+= -Wno-deprecated-declarations
-OUR_CPPFLAGS+= -Wno-deprecated-copy
+OUR_CXXFLAGS+= -Wno-deprecated-copy
 
 # only needed when backporting to buster and older
 #OUR_LDFLAGS+= -Wl,--as-needed