mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Fixed whole program (link-time) optimization build with Clang
This commit is contained in:
parent
39e2ebe425
commit
0a5dd94072
2 changed files with 4 additions and 4 deletions
|
@ -52,7 +52,7 @@ class FScanner;
|
||||||
#define GCC_YSEG
|
#define GCC_YSEG
|
||||||
#else
|
#else
|
||||||
#define MSVC_YSEG
|
#define MSVC_YSEG
|
||||||
#define GCC_YSEG __attribute__((section(SECTION_YREG)))
|
#define GCC_YSEG __attribute__((section(SECTION_YREG))) __attribute__((used))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct FIntermissionDescriptor;
|
struct FIntermissionDescriptor;
|
||||||
|
|
|
@ -266,11 +266,11 @@ enum EDefinitionType
|
||||||
#define GCC_MSEG
|
#define GCC_MSEG
|
||||||
#else
|
#else
|
||||||
#define MSVC_ASEG
|
#define MSVC_ASEG
|
||||||
#define GCC_ASEG __attribute__((section(SECTION_AREG)))
|
#define GCC_ASEG __attribute__((section(SECTION_AREG))) __attribute__((used))
|
||||||
#define MSVC_PSEG
|
#define MSVC_PSEG
|
||||||
#define GCC_PSEG __attribute__((section(SECTION_GREG)))
|
#define GCC_PSEG __attribute__((section(SECTION_GREG))) __attribute__((used))
|
||||||
#define MSVC_MSEG
|
#define MSVC_MSEG
|
||||||
#define GCC_MSEG __attribute__((section(SECTION_MREG)))
|
#define GCC_MSEG __attribute__((section(SECTION_MREG))) __attribute__((used))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue