[lldb][test] Toolchain detection rewrite in Python (#102185)
This fix is based on a problem with cxx_compiler and cxx_linker macros on Windows. There was an issue with compiler detection in paths containing "icc". In such case, Makefile.rules thought it was provided with icc compiler. To solve that, utilities detection has been rewritten in Python. The last element of compiler's path is separated, taking into account the platform path delimiter, and compiler type is extracted, with regard of possible cross-toolchain prefix. --------- Co-authored-by: Pavel Labath <pavel@labath.sk>
This commit is contained in:
committed by
GitHub
parent
2a130f1a14
commit
44fc987ed1
@@ -1,6 +1,6 @@
|
||||
C_SOURCES := inlines.c
|
||||
|
||||
ifneq (,$(findstring icc,$(CC)))
|
||||
ifeq ($(CC_TYPE), icc)
|
||||
CFLAGS_EXTRAS := -debug inline-debug-info
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user