mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
DSC: Fix Windows CLANGPDB build
This commit is contained in:
parent
d9570543d6
commit
eaf9963629
@ -120,7 +120,7 @@
|
||||
[BuildOptions]
|
||||
# While there are no PCDs as of now, there at least are some custom macros.
|
||||
DEFINE OCPKG_BUILD_OPTIONS_GEN = -D DISABLE_NEW_DEPRECATED_INTERFACES $(OCPKG_BUILD_OPTIONS)
|
||||
DEFINE OCPKG_ANAL_OPTIONS_GEN = -DANALYZER_UNREACHABLE='__builtin_unreachable' -DANALYZER_NORETURN='__attribute__((noreturn))'
|
||||
DEFINE OCPKG_ANAL_OPTIONS_GEN = -DANALYZER_UNREACHABLE=__builtin_unreachable -DANALYZER_NORETURN=__attribute__((noreturn))
|
||||
|
||||
GCC:DEBUG_*_*_CC_FLAGS = -D OC_TARGET_DEBUG=1 $(OCPKG_BUILD_OPTIONS_GEN) $(OCPKG_ANAL_OPTIONS_GEN)
|
||||
GCC:NOOPT_*_*_CC_FLAGS = -D OC_TARGET_NOOPT=1 $(OCPKG_BUILD_OPTIONS_GEN) $(OCPKG_ANAL_OPTIONS_GEN)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user