Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
6.4
-
None
-
05e029619f (qt/qtbase/dev) c7e94c8b7f (qt/qtbase/6.3) 05e029619f (qt/tqtc-qtbase/dev) c7e94c8b7f (qt/tqtc-qtbase/6.3) 18e93dd483 (qt/qtbase/6.2) 18e93dd483 (qt/tqtc-qtbase/6.2)
Description
If you pass CMAKE_CXX_FLAGS to cmake on the command-line and that contains more than one flag, then you can't use headersclean because the build will fail.
[11/2041] headersclean: Checking header src/corelib/animation/qabstractanimation.h FAILED: src/corelib/header_check/animation/qabstractanimation.h.o /home/tjmaciei/obj/qt/qt6-clang/qtbase/src/corelib/header_check/animation/qabstractanimation.h.o cd /home/tjmaciei/obj/qt/qt6-clang/qtbase/src/corelib && /usr/bin/cmake -E make_directory header_check/animation && ccache /home/tjmaciei/bin/clang++ -c "-O3 -g1 -march=tigerlake -mprefer-vector-width=256 -maes" -DQT_NO_FOREACH [... other flags ...] error: invalid integral value '3 -g1 -march=tigerlake -mprefer-vector-width=256 -maes' in '-O3 -g1 -march=tigerlake -mprefer-vector-width=256 -maes'