[R-sig-Debian] Default CXXFLAGS

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Tue May 21 14:59:26 CEST 2024


On Tue, 21 May 2024 14:48:48 +0200
Kurt Hornik <Kurt.Hornik using wu.ac.at> wrote:

> I guess foer the CXXFLAGS we want dpkg-buildflags --get CXXFLAGS?

It must be the case. It's both the documented option [1] and it
currently differs from CFLAGS in the offending flag:

root using 93e09ba5b6fb:/# diff -u <(dpkg-buildflags --get CFLAGS | sed 's/ /\n/g') <(dpkg-buildflags --get CXXFLAGS | sed 's/ /\n/g')
--- /dev/fd/63  2024-05-21 12:54:12.275778573 +0000
+++ /dev/fd/62  2024-05-21 12:54:12.275778573 +0000
@@ -1,6 +1,5 @@
 -g
 -O2
--Werror=implicit-function-declaration
 -ffile-prefix-map=/=.
 -fstack-protector-strong
 -fstack-clash-protection


-- 
Best regards,
Ivan

[1]
https://manpages.debian.org/bookworm/dpkg-dev/dpkg-buildflags.1.en.html#CXXFLAGS



More information about the R-SIG-Debian mailing list