Commit 25d9a140 authored by James Zern's avatar James Zern Committed by Yaowu Xu

configure: only add -std=c99 for non-visual studio builds

we rely on the version of visual studio (2013+) to allow c99 in that
case.

BUG=aomedia:111

Change-Id: If0fb9ad81b42e93bfb8752071abd2370d43981bb
parent af0c102b
......@@ -672,7 +672,10 @@ check_xcode_minimum_version() {
}
process_common_toolchain() {
add_cflags_only -std=c99
case "$toolchain" in
*-vs*) ;;
*) add_cflags_only -std=c99 ;;
esac
if [ -z "$toolchain" ]; then
gcctarget="${CHOST:-$(gcc -dumpmachine 2> /dev/null)}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment