diff options
author | Michael Kinney <michael.d.kinney@intel.com> | 2017-05-02 17:25:10 -0700 |
---|---|---|
committer | Michael Kinney <michael.d.kinney@intel.com> | 2017-05-19 14:22:13 -0700 |
commit | 01e9597540fa418e3db2f853112508be704758bf (patch) | |
tree | 6102c59d78feda7b7851cac983624f853083c202 /OvmfPkg/OvmfPkgIa32X64.dsc | |
parent | b9dbc03e5a4c90b9e3efe0e0e8c014c428528261 (diff) | |
download | edk2-01e9597540fa418e3db2f853112508be704758bf.tar.gz edk2-01e9597540fa418e3db2f853112508be704758bf.tar.bz2 edk2-01e9597540fa418e3db2f853112508be704758bf.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>
Diffstat (limited to 'OvmfPkg/OvmfPkgIa32X64.dsc')
-rw-r--r-- | OvmfPkg/OvmfPkgIa32X64.dsc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index 9727db8429..9ab58aa9d1 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -80,11 +80,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 =
################################################################################
#
|