Skip to content

Commit c571113

Browse files
authored
[flang] Fix cycle of build dependencies (#108132)
While trying to fix one build problem, I made things worse. This should clear things up.
1 parent 76151c4 commit c571113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/tools/f18/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ if (NOT CMAKE_CROSSCOMPILING)
8080
set(depends ${depends} ${FLANG_INTRINSIC_MODULES_DIR}/__fortran_ieee_exceptions.mod)
8181
endif()
8282
endif()
83-
if(NOT ${filename} STREQUAL "__fortran_type_info")
83+
if(NOT ${filename} STREQUAL "__fortran_type_info" AND NOT ${filename} STREQUAL "__fortran_builtins")
8484
set(depends ${depends} ${FLANG_INTRINSIC_MODULES_DIR}/__fortran_type_info.mod)
8585
endif()
8686

0 commit comments

Comments
 (0)