File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,8 @@ define $(package)_preprocess_cmds
202
202
sed -i.old "s|QMAKE_CFLAGS += |!host_build: QMAKE_CFLAGS = $($(package ) _cflags) $($(package ) _cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
203
203
sed -i.old "s|QMAKE_CXXFLAGS += |!host_build: QMAKE_CXXFLAGS = $($(package ) _cxxflags) $($(package ) _cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
204
204
sed -i.old "0,/^QMAKE_LFLAGS_/s|^QMAKE_LFLAGS_|!host_build: QMAKE_LFLAGS = $($(package ) _ldflags) \n&|" qtbase/mkspecs/win32-g++/qmake.conf && \
205
+ sed -i.old "s|QMAKE_CC = clang|QMAKE_CC = $($(package ) _cc) |" qtbase/mkspecs/common/clang.conf && \
206
+ sed -i.old "s|QMAKE_CXX = clang++|QMAKE_CXX = $($(package ) _cxx) |" qtbase/mkspecs/common/clang.conf && \
205
207
sed -i.old "s/LIBRARY_PATH/(CROSS_ ) ?\0/g" qtbase/mkspecs/features/toolchain.prf
206
208
endef
207
209
You can’t perform that action at this time.
0 commit comments