CryptoPkg/openssl: move compiler_flags to buildinf.c
Seems with openssl 3.0 this is used by multiple source files, so we get duplicate symbol errors when linking. Fix that by moving compiler_flags from header file to a source file. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Brian J. Johnson <brian.johnson@hpe.com> Tested-by: Kenneth Lautner <klautner@microsoft.com>
This commit is contained in:
committed by
mergify[bot]
parent
c638d1f672
commit
3af00aec7f
@@ -1,4 +1,4 @@
|
||||
#define PLATFORM "UEFI"
|
||||
#define DATE "Fri Dec 22 01:23:45 PDT 2017"
|
||||
|
||||
const char *compiler_flags = "compiler: information not available from edk2";
|
||||
extern const char *compiler_flags;
|
||||
|
Reference in New Issue
Block a user