Not only it ignores the *FLAGS for the majority of the sources but add a whole set of CXXFLAGS that needs to be filtered -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2 and -g0 must be removed, -U_FORTIFY_SOURCE, -D_FORTIFY_SOURCE=2, --param=ssp-buffer-size=4 and -fstack-protector are redundant in the hardened profile
Created attachment 592606 [details] qtwebengine-5.12.5:20191012-140844.log.xz buildlog
*** This bug has been marked as a duplicate of bug 652172 ***