Skip to content

Commit 999b356

Browse files
authored
[gn build] Manually partially port #108276 (#149595)
Fixes windows gn clang build. Don't worry about exporting clang symbols on windows in gn build for now.
1 parent aa1b416 commit 999b356

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/utils/gn/build/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ config("compiler_defaults") {
179179
"_HAS_EXCEPTIONS=0",
180180
"_UNICODE",
181181
"UNICODE",
182+
"CLANG_BUILD_STATIC",
182183
]
183184
cflags += [ "/EHs-c-" ]
184185
cflags_cc += [ "/std:c++17" ]

0 commit comments

Comments
 (0)