From 1cbb91b4a06d6e6626c5345d5a9d7d0fbe9e1bbb Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Thu, 18 Sep 2014 18:22:37 +0200 Subject: Set arm_tune to empty string if mtune flag is not set by toolchain Since the default arm_tune option applied by chromium is not recognized by our gcc toolchain set arm_tune to empty string to prevent chromium from setting a default. Our toolchains set the arm version which already implies the corresponding mtune option anyway. Change-Id: I0291bd4f0e5706597d37f914e4eeefbd75397bbf Reviewed-by: Jocelyn Turcotte --- src/core/gyp_run.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro index 244ce7ec0..f79972a2e 100644 --- a/src/core/gyp_run.pro +++ b/src/core/gyp_run.pro @@ -52,7 +52,7 @@ cross_compile { !isEmpty(MARCH): GYP_ARGS += "-D arm_arch=\"$$MARCH\"" MTUNE = $$extractCFlag("-mtune=.*") - !isEmpty(MTUNE): GYP_ARGS += "-D arm_tune=\"$$MTUNE\"" + GYP_ARGS += "-D arm_tune=\"$$MTUNE\"" MFLOAT = $$extractCFlag("-mfloat-abi=.*") !isEmpty(MFLOAT): GYP_ARGS += "-D arm_float_abi=\"$$MFLOAT\"" -- cgit v1.2.3