Skip to content
Commit 2b0f1790 authored by Daniel Flodin's avatar Daniel Flodin Committed by Dan Kalowsky
Browse files

cmake: assembler optimization options



Commit f499ea0a made it so that the compiler optimization flags are also
passed to the assembler. However, this breaks for the IAR toolchain
since it uses the GNU assembler which does not have the same
optimization flags as the IAR compiler.

This commit separates the compiler and assembler optimizations to make
it possible to specify appropriate flags in a toolchains corresponding
`compiler_flags.cmake`

Signed-off-by: default avatarDaniel Flodin <daniel.flodin@iar.com>
(cherry picked from commit a4b66f92)
parent ff9fb454
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment