Platforms/ARM/Juno: set -march=armv8-a for 32-bit GCC build
Set the architecture to ARMv8-A for the 32-bit build. Note that this
is GCC only, RVCT currently has no way of setting this option.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
diff --git a/Platforms/ARM/Juno/ArmJuno.dsc b/Platforms/ARM/Juno/ArmJuno.dsc
index 154de2c..4080c0b 100644
--- a/Platforms/ARM/Juno/ArmJuno.dsc
+++ b/Platforms/ARM/Juno/ArmJuno.dsc
@@ -68,6 +68,7 @@
[BuildOptions]
*_*_*_PLATFORM_FLAGS = -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmJunoPkg/Include
+ GCC:*_*_ARM_PLATFORM_FLAGS = -march=armv8-a
################################################################################
#