summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/TargetTxtClassObject.py
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2025-09-05 03:03:44 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-09-19 13:54:10 +0300
commit82a03a824824a348fbbff7de680e15284bfc61a4 (patch)
treedf508f33fa9d0bccaabaecfcd710addde07708f0 /BaseTools/Source/Python/Common/TargetTxtClassObject.py
parentff39a5d2dd51b77a125379e5a83752babc0e0ed7 (diff)
downloadedk2-82a03a824824a348fbbff7de680e15284bfc61a4.tar.xz
RedfishPkg/JsonLib: Define NO_MSABI_VA_FUNCS for GCC X64
For GCC family X64 builds, add -DNO_MSABI_VA_FUNCS to force use of the compiler default vararg macros. This define is required in libraries that use a standard C source submodule and there are one or more vararg functions. The calling convention of the vararg function must match the calling convention of the vararg macros used within the vararg function. In the JsonLib case, jsonp_error_set() is a vararg function and generates the following error for CLANGDWARF X64 builds. RedfishPkg/Library/JsonLib/jansson/src/error.c:37:5: error: '__builtin_ms_va_start' used in System V ABI function 37 | va_start(ap, msg); | ^ This change matches CryptoPkg openssl and mbedtls library INF files that also define NO_MSABI_VA_FUNCS. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/TargetTxtClassObject.py')
0 files changed, 0 insertions, 0 deletions