diff options
-rw-r--r-- | SConstruct | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/SConstruct b/SConstruct index 7d396fabc..2a550e6c0 100644 --- a/SConstruct +++ b/SConstruct @@ -164,8 +164,8 @@ if env['arch'] == 'armv7a': env.Append(CXXFLAGS = ['-march=armv7-a', '-mthumb', '-mfpu=neon']) if env['os'] == 'linux': - prefix = "arm-linux-gnueabihf-" - env.Append(CXXFLAGS = ['-mfloat-abi=hard']) + prefix = "armv7l-tizen-linux-gnueabi-" + env.Append(CXXFLAGS = ['-mfloat-abi=softfp']) elif env['os'] == 'bare_metal': prefix = "arm-eabi-" env.Append(CXXFLAGS = ['-mfloat-abi=hard']) @@ -176,7 +176,7 @@ elif env['arch'] == 'arm64-v8a': env.Append(CXXFLAGS = ['-march=armv8-a']) env.Append(CPPDEFINES = ['ARM_COMPUTE_AARCH64_V8A','NO_DOT_IN_TOOLCHAIN']) if env['os'] == 'linux': - prefix = "aarch64-linux-gnu-" + prefix = "aarch64-tizen-linux-gnu-" elif env['os'] == 'bare_metal': prefix = "aarch64-elf-" elif env['os'] == 'android': @@ -192,7 +192,7 @@ elif 'arm64-v8.2-a' in env['arch']: else: env.Append(CXXFLAGS = ['-march=armv8.2-a+fp16']) # explicitly enable fp16 extension otherwise __ARM_FEATURE_FP16_VECTOR_ARITHMETIC is undefined if env['os'] == 'linux': - prefix = "aarch64-linux-gnu-" + prefix = "aarch64-tizen-linux-gnu-" elif env['os'] == 'bare_metal': prefix = "aarch64-elf-" elif env['os'] == 'android': @@ -217,8 +217,8 @@ env['CC'] = env['compiler_cache']+" "+prefix + c_compiler env['CXX'] = env['compiler_cache']+" "+prefix + cpp_compiler env['LD'] = prefix + "ld" env['AS'] = prefix + "as" -env['AR'] = prefix + "ar" -env['RANLIB'] = prefix + "ranlib" +env['AR'] = prefix + "gcc-ar" +env['RANLIB'] = prefix + "gcc-ranlib" if not GetOption("help"): try: |