diff options
Diffstat (limited to 'drivers/png/SCsub')
-rw-r--r-- | drivers/png/SCsub | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/png/SCsub b/drivers/png/SCsub index ea2324c0cf..1ab42a6db9 100644 --- a/drivers/png/SCsub +++ b/drivers/png/SCsub @@ -5,7 +5,7 @@ Import('env_drivers') if (env["libpng"] == "builtin"): thirdparty_dir = "#thirdparty/libpng/" - thirdparty_png_sources = [ + thirdparty_sources = [ thirdparty_dir + "png.c", thirdparty_dir + "pngerror.c", thirdparty_dir + "pngget.c", @@ -31,13 +31,13 @@ if (env["libpng"] == "builtin"): if "S_compiler" in env: env_neon['CC'] = env['S_compiler'] #env_neon.Append(CPPFLAGS=["-DPNG_ARM_NEON"]) - thirdparty_png_sources.append(env_neon.Object(thirdparty_dir + "/arm/arm_init.c")) - thirdparty_png_sources.append(env_neon.Object(thirdparty_dir + "/arm/filter_neon.S")) + thirdparty_sources.append(env_neon.Object(thirdparty_dir + "/arm/arm_init.c")) + thirdparty_sources.append(env_neon.Object(thirdparty_dir + "/arm/filter_neon.S")) else: env_drivers.Append(CPPFLAGS=["-DPNG_ARM_NEON_OPT=0"]) - #env_drivers.add_source_files(env.drivers_sources, thirdparty_png_sources) - env.drivers_sources += thirdparty_png_sources # Concatenation necessary for neon objects it seems? + #env_drivers.add_source_files(env.drivers_sources, thirdparty_sources) + env.drivers_sources += thirdparty_sources # Concatenation necessary for neon objects it seems? env_drivers.Append(CPPPATH = [thirdparty_dir]) |