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

Change-Id: I7812c8924396d0df9ab331f9a1844aabbf5a9211
Tento commit je obsažen v:
Ioannis Assiouras
2024-06-28 14:18:25 +01:00
rodič 6ac67afdd5
revize fa07c33cba
2 změnil soubory, kde provedl 4 přidání a 3 odebrání
+2 -2
Zobrazit soubor
@@ -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*/