diff options
author | Ariel Manzur <punto@godotengine.org> | 2016-05-21 21:07:34 -0300 |
---|---|---|
committer | Ariel Manzur <punto@godotengine.org> | 2016-05-21 21:07:34 -0300 |
commit | 4c4d79e3c98182faf348f41f98d1cc3e5d843e69 (patch) | |
tree | ebdc14cb0c9b93f134197a1d7edaf1e3c49fd35b /drivers/png | |
parent | 12bd9ee6f27c6d40f91e0bee7b150fea257463cb (diff) |
fix drivers build on ios
Diffstat (limited to 'drivers/png')
-rw-r--r-- | drivers/png/SCsub | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/png/SCsub b/drivers/png/SCsub index df521de3eb..3f8e29c78a 100644 --- a/drivers/png/SCsub +++ b/drivers/png/SCsub @@ -1,4 +1,5 @@ Import('env') +Import('env_drivers') png_sources = [ @@ -25,7 +26,7 @@ png_sources = [ # Currently .ASM filter_neon.S does not compile on NT. import os if ("neon_enabled" in env and env["neon_enabled"]) and os.name!="nt": - env.Append(CPPFLAGS=["-DPNG_ARM_NEON_OPT=2"]) + env_drivers.Append(CPPFLAGS=["-DPNG_ARM_NEON_OPT=2"]) env_neon = env.Clone(); if "S_compiler" in env: env_neon['CC'] = env['S_compiler'] @@ -33,7 +34,7 @@ if ("neon_enabled" in env and env["neon_enabled"]) and os.name!="nt": png_sources.append(env_neon.Object("#drivers/png/arm/arm_init.c")) png_sources.append(env_neon.Object("#drivers/png/arm/filter_neon.S")) else: - env.Append(CPPFLAGS=["-DPNG_ARM_NEON_OPT=0"]) + env_drivers.Append(CPPFLAGS=["-DPNG_ARM_NEON_OPT=0"]) env.drivers_sources+=png_sources |