summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-20 21:12:18 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-20 21:12:18 +0000
commit2653bb431a9f9636bd8dbd7b3119f02a7befb7b6 (patch)
tree9d62019dbd59c90828b2d561149d23b94e692660 /MdePkg/Library
parent2ad29d0fe4433548311df28d2b0f21be1d07168b (diff)
downloadedk2-platforms-2653bb431a9f9636bd8dbd7b3119f02a7befb7b6.tar.xz
MdePkg BaseLib: Fix GCC build break
Only use X86MemoryFence.c for INTEL and MSFT. MemoryFence is defined in GccInline.c for GCC. This change is the same as r10522, but for X64. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10525 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/BaseLib/BaseLib.inf3
1 files changed, 2 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf
index 4f7026bdfe..d3da105229 100644
--- a/MdePkg/Library/BaseLib/BaseLib.inf
+++ b/MdePkg/Library/BaseLib/BaseLib.inf
@@ -391,7 +391,8 @@
X86ReadIdtr.c
X86ReadGdtr.c
X86Msr.c
- X86MemoryFence.c
+ X86MemoryFence.c | MSFT
+ X86MemoryFence.c | INTEL
X86GetInterruptState.c
X86FxSave.c
X86FxRestore.c