mirror of https://github.com/acidanthera/audk.git
ArmPkg/ArmSoftfloatLib: restrict -fno-tree-vrp option to GCC46 and GCC47
The -fno-tree-vrp option is not required for GCC 4.8 or later, and is not supported by CLANG. So restrict its use to GCC 4.6 and 4.7, which are the oldest versions we support for ARM. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19283 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
6d2449c1f5
commit
01627dba09
|
@ -45,5 +45,7 @@
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
|
|
||||||
[BuildOptions]
|
[BuildOptions]
|
||||||
GCC:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC -Wno-enum-compare -fno-tree-vrp
|
GCC:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC -Wno-enum-compare
|
||||||
|
*_GCC46_*_CC_FLAGS = -fno-tree-vrp
|
||||||
|
*_GCC47_*_CC_FLAGS = -fno-tree-vrp
|
||||||
RVCT:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC
|
RVCT:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC
|
||||||
|
|
Loading…
Reference in New Issue