diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh
index f3eb97c1d0..5bfee725ad 100755
--- a/OvmfPkg/build.sh
+++ b/OvmfPkg/build.sh
@@ -1,7 +1,7 @@
#!/bin/bash
#
# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
-# Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.
+# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -82,9 +82,12 @@ case `uname` in
4.6.*)
TARGET_TOOLS=GCC46
;;
- 4.[789].*)
+ 4.7.*)
TARGET_TOOLS=GCC47
;;
+ 4.[8-9].*)
+ TARGET_TOOLS=GCC48
+ ;;
*)
TARGET_TOOLS=GCC44
;;