Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P0: Blocker
-
Resolution: Done
-
Affects Version/s: 6.4
-
Fix Version/s: 6.3.0 Beta1, 6.4.0 Beta1
-
Component/s: Build System: CMake
-
Labels:None
-
Commits: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'