Fix IPhone and OSX cross compilation

This commit is contained in:
Fabio Alessandrelli
2018-03-28 18:45:54 +02:00
parent 4b4ed9b724
commit e7b9e2f970
3 changed files with 8 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ def configure(env):
env['AR'] = basecmd + "ar"
env['RANLIB'] = basecmd + "ranlib"
env['AS'] = basecmd + "as"
env.Append(CCFLAGS=['-D__MACPORTS__']) #hack to fix libvpx MM256_BROADCASTSI128_SI256 define
if (env["CXX"] == "clang++"):
env.Append(CPPFLAGS=['-DTYPED_METHOD_BIND'])