Fix ARM build failure with gcc 4.6.
authorScott Duplichan <scott@notabs.org>
Tue, 2 Dec 2014 00:44:04 +0000 (00:44 +0000)
committeryingke <yingke@Edk2>
Tue, 2 Dec 2014 00:44:04 +0000 (00:44 +0000)
commit62771cee1d453fbb0dd2e38953e0d8b3a4506fa4
tree1270833f7362774b19a648bec370e4b2e9d8628c
parentedafa0bbe423d5d6129f4d18de176dfd73b6cfcf
Fix ARM build failure with gcc 4.6.

Gcc option -mno-unaligned-access is supported by gcc 4.7 and newer, so it shouldn't be used with gcc 4.6.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16464 6f19259b-4bc3-4df7-8a09-765794883524
BaseTools/Conf/tools_def.template