summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/OvmfPkgIa32.dsc
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2017-05-02 17:25:10 -0700
committerMichael Kinney <michael.d.kinney@intel.com>2017-05-24 15:05:32 -0700
commit6933eb824ae41076e1ae5c3df4fa5614d20e63a1 (patch)
tree83df008116f41560aeb528203d82c87d727a59a5 /OvmfPkg/OvmfPkgIa32.dsc
parente10f7f1baeaa9ca250f353e6f1b62d00f53306ed (diff)
downloadedk2-6933eb824ae41076e1ae5c3df4fa5614d20e63a1.tar.gz
edk2-6933eb824ae41076e1ae5c3df4fa5614d20e63a1.tar.bz2
edk2-6933eb824ae41076e1ae5c3df4fa5614d20e63a1.zip
OvmfPkg: Add XCODE5 statements to fix build break
https://bugzilla.tianocore.org/show_bug.cgi?id=559 The XCODE5 tool chain has a FAMILY of GCC. The GCC statements in the [BuildOptions] section add flags that are not compatible with XCODE5. Add empty XCODE5 statements in [BuildOptions] sections to prevent the use of the GCC flags in XCODE5 builds. Cc: Laszlo Ersek <lersek@redhat.com> Cc: Andrew Fish <afish@apple.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> (cherry picked from commit 01e9597540fa418e3db2f853112508be704758bf)
Diffstat (limited to 'OvmfPkg/OvmfPkgIa32.dsc')
-rw-r--r--OvmfPkg/OvmfPkgIa32.dsc2
1 files changed, 2 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
index 0796b0db81..49ba3ca0b8 100644
--- a/OvmfPkg/OvmfPkgIa32.dsc
+++ b/OvmfPkg/OvmfPkgIa32.dsc
@@ -56,11 +56,13 @@
[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
+ XCODE:*_*_*_DLINK_FLAGS =
# Force PE/COFF sections to be aligned at 4KB boundaries to support page level
# protection of DXE_SMM_DRIVER/SMM_CORE modules
[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
+ XCODE:*_*_*_DLINK_FLAGS =
################################################################################
#