fixes android drivers build

This commit is contained in:
Ariel Manzur 2016-05-21 21:47:21 -03:00
parent 4c4d79e3c9
commit dbb4c0c9b7

View file

@ -27,7 +27,7 @@ png_sources = [
import os
if ("neon_enabled" in env and env["neon_enabled"]) and os.name!="nt":
env_drivers.Append(CPPFLAGS=["-DPNG_ARM_NEON_OPT=2"])
env_neon = env.Clone();
env_neon = env_drivers.Clone();
if "S_compiler" in env:
env_neon['CC'] = env['S_compiler']
#env_neon.Append(CPPFLAGS=["-DPNG_ARM_NEON"])