diff options
Diffstat (limited to 'libvpx/configure')
| -rwxr-xr-x | libvpx/configure | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libvpx/configure b/libvpx/configure index ac196dac..a40f3abb 100755 --- a/libvpx/configure +++ b/libvpx/configure @@ -264,6 +264,7 @@ EXPERIMENT_LIST=" spatial_svc fp_mb_stats emulate_hardware + misc_fixes " CONFIG_LIST=" dependency_tracking @@ -716,6 +717,16 @@ EOF 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 + if [ -n "${extra_cxxflags}" ]; then + check_add_cxxflags ${extra_cxxflags} || \ + die "Requested extra CXXFLAGS '${extra_cxxflags}' not supported by compiler" + fi } |
