diff --git a/EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf b/EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf index d1ebfc9441..9a97656cdd 100644 --- a/EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf +++ b/EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf @@ -24,6 +24,7 @@ BASE_NAME = CompilerStub COMPONENT_TYPE = LIBRARY [sources.common] + Dummy.c [sources.ia32] Ia32/memcpyRep1.asm diff --git a/EdkCompatibilityPkg/Foundation/Library/CompilerStub/Dummy.c b/EdkCompatibilityPkg/Foundation/Library/CompilerStub/Dummy.c new file mode 100644 index 0000000000..c033d8481c --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Library/CompilerStub/Dummy.c @@ -0,0 +1,21 @@ +/*++ + +Copyright (c) 2008, Intel Corporation +All rights reserved. This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +Module Name: + memcpy.c + +Abstract: + + This file is purely empty as a work around for CompilerStubLib to pass GCC build. + +--*/ + +extern int __make_me_compile_correctly;