diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2021-02-08 20:28:35 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2021-02-09 14:08:14 +0000 |
commit | f18542411b0e0353aedbefe6b662f54c3b7a1422 (patch) | |
tree | 1db13bed5813edf3ce685337348d77b6020ec5e1 /tests/auto | |
parent | b3d59f72c764595e4daff6cbc115e06843d1e06e (diff) | |
download | qbs-f18542411b0e0353aedbefe6b662f54c3b7a1422.tar.gz |
baremetal: Add '-nostdlib' flag for MSP430 GCC toolchain
... to pass the C++ tests.
Because we don't use the linking with the standard libraries in a tests,
otherwise linking will fails.
Change-Id: Ibde09c384fb70626109b357144a7e27a1a6b6e5b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/blackbox/testdata-baremetal/BareMetalProduct.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata-baremetal/BareMetalProduct.qbs b/tests/auto/blackbox/testdata-baremetal/BareMetalProduct.qbs index d0f0d585b..38e986077 100644 --- a/tests/auto/blackbox/testdata-baremetal/BareMetalProduct.qbs +++ b/tests/auto/blackbox/testdata-baremetal/BareMetalProduct.qbs @@ -143,7 +143,7 @@ Product { Properties { condition: qbs.toolchain.contains("gcc") && qbs.architecture === "msp430" - cpp.driverFlags: ["-mmcu=msp430f5529"] + cpp.driverFlags: ["-mmcu=msp430f5529", "-nostdlib"] } Properties { condition: qbs.toolchain.contains("gcc") |