mirror of https://github.com/acidanthera/audk.git
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:
parent
c638d1f672
commit
3af00aec7f
|
@ -34,6 +34,7 @@
|
|||
# Autogenerated files list starts here
|
||||
# Autogenerated files list ends here
|
||||
buildinf.h
|
||||
buildinf.c
|
||||
ossl_store.c
|
||||
rand_pool.c
|
||||
# SslNull.c
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
# Autogenerated files list starts here
|
||||
# Autogenerated files list ends here
|
||||
buildinf.h
|
||||
buildinf.c
|
||||
ossl_store.c
|
||||
rand_pool.c
|
||||
# SslNull.c
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
# Autogenerated files list starts here
|
||||
# Autogenerated files list ends here
|
||||
buildinf.h
|
||||
buildinf.c
|
||||
ossl_store.c
|
||||
rand_pool.c
|
||||
SslNull.c
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
# Autogenerated files list starts here
|
||||
# Autogenerated files list ends here
|
||||
buildinf.h
|
||||
buildinf.c
|
||||
ossl_store.c
|
||||
rand_pool.c
|
||||
# SslNull.c
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
# Autogenerated files list starts here
|
||||
# Autogenerated files list ends here
|
||||
buildinf.h
|
||||
buildinf.c
|
||||
ossl_store.c
|
||||
rand_pool.c
|
||||
# SslNull.c
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
/* SPDX-License-Identifier: BSD-2-Clause-Patent */
|
||||
#include "buildinf.h"
|
||||
|
||||
const char *compiler_flags = "compiler: information not available from edk2";
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue