pandaboard: fix compiler arguments for default toolchain

The 4.4 compiler under prebuilts does not support the
-march and -mcpu being used together. This changes updates
the test to determine if those flags can be used.

Change-Id: Ib4700b9f6418eee80d9d3b7030a2efb1aedc7910
Signed-off-by: Andy Doan <andy.doan@linaro.org>
diff --git a/BoardConfig.mk b/BoardConfig.mk
index c7f359f..473cb57 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -63,7 +63,7 @@
 USE_OPENGL_RENDERER := true
 
 # PandaBoard uses an OMAP4 -- Cortex A9
-TARGET_EXTRA_CFLAGS += $(call cc-option,-mtune=cortex-a9,$(call cc-option,-mtune=cortex-a8)) $(call cc-option,-mcpu=cortex-a9,$(call cc-option,-mcpu=cortex-a8))
+TARGET_EXTRA_CFLAGS += $(call cc-option,"-march=armv7-a -mtune=cortex-a9",$(call cc-option,"-march=armv7-a -mtune=cortex-a8")) $(call cc-option,"-march=armv7-a -mcpu=cortex-a9",$(call cc-option,"-march=armv7-a -mcpu=cortex-a8"))
 
 # ARMs gator (DS-5)
 TARGET_USE_GATOR:= true