On Tue, Apr 2, 2024 at 11:19 PM Sebastian Ramacher <sramac...@debian.org> wrote: > > Hi > > On 2024-04-02 23:16:16 +0800, Bo YU wrote: > > Tags: patch > > > > Hi, > > > File "/<<PKGBUILDDIR>>/site_scons/extractdebbuild.py", line 61: > > > raise RuntimeError("We do not current support different different > > > dpkg-buildflags for C vs C++") > > > make[1]: *** [debian/rules:65: override_dh_auto_build] Error 2 > > > > I have looked into this a bit. > > As the error hint here, the default cflags in here when build is: > > > > ``` > > -g -O2 -Werror=implicit-function-declaration > > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack- > > clash-protection -Wformat -Werror=format-security -fcf-protection > > -Wno-uninitialized > > ``` > > > > But cxxflags without[0] `-Werror=implicit-function-declaration` here. Is it > > expected? > > It is expected. -Werror=implicit-function-declaration makes no sense in > C++ since C++ simply does not support implicit function declarations.
Thanks for clarification. Once cleared my local build, I will push this update again. BR, Bo > > Cheers >