shithub: libvpx

Download patch

ref: 6201a256f48c7fccbe2c1f7778ad75b0693ac6d9
parent: 820302a394095e3a22ff68c692c56498919118ab
parent: 43a34557f15219295287544dd14ed9cdfb0e4726
author: James Zern <[email protected]>
date: Thu Aug 27 22:55:49 EDT 2015

Merge "configure: append --extra-cflags to final set"

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1323,12 +1323,6 @@
     add_cflags -D_LARGEFILE_SOURCE
     add_cflags -D_FILE_OFFSET_BITS=64
   fi
-
-  # append any user defined extra cflags
-  if [ -n "${extra_cflags}" ] ; then
-    check_add_cflags ${extra_cflags} || \
-    die "Requested extra CFLAGS '${extra_cflags}' not supported by compiler"
-  fi
 }
 
 process_toolchain() {
--- a/configure
+++ b/configure
@@ -716,6 +716,12 @@
     esac
     # libwebm needs to be linked with C++ standard library
     enabled webm_io && LD=${CXX}
+
+    # append any user defined extra cflags
+    if [ -n "${extra_cflags}" ] ; then
+        check_add_cflags ${extra_cflags} || \
+        die "Requested extra CFLAGS '${extra_cflags}' not supported by compiler"
+    fi
 }