SWDEV-470787 - Fixed undefined symbols for flags in static build

Change-Id: I7812c8924396d0df9ab331f9a1844aabbf5a9211


[ROCm/clr commit: fa07c33cba]
这个提交包含在:
Ioannis Assiouras 于 2024-07-04 02:57:22 -04:00 提交
1 父节点 ff12be080d
当前提交 a774b89a43
2 个文件已更改
+4 -3

没有与搜索条件相匹配的文件

+2 -2
查看文件
@@ -205,7 +205,7 @@ Flag Flag::flags_[] = {
} // namespace amd
#ifndef _WIN32
namespace {
namespace amd::flags {
#endif
#define DEFINE_RELEASE_FLAG_VALUE(type, name, value, help) type name = value;
#define DEFINE_DEBUG_FLAG_VALUE(type, name, value, help) DEBUG_ONLY(type name = value);
@@ -216,4 +216,4 @@ RUNTIME_FLAGS(DEFINE_DEBUG_FLAG_VALUE, DEFINE_RELEASE_FLAG_VALUE, DEFINE_DEBUG_F
#undef DEFINE_RELEASE_FLAG_VALUE
#ifndef _WIN32
}
#endif
#endif /*!_WIN32*/