From 9af0012107da348855f0075e56e92ee0529a4af1 Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Tue, 9 Jan 2024 10:47:02 +0100 Subject: [PATCH] fix(platform): wrong optimization_flags for Arduino 1.8.x Introduced by #2184. Fixes #2244. Signed-off-by: Frederic Pillon --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.txt b/platform.txt index 31fd90c28c..e8de0ea428 100644 --- a/platform.txt +++ b/platform.txt @@ -19,7 +19,7 @@ compiler.warning_flags.all=-Wall -Wextra # EXPERIMENTAL feature: optimization flags # - this is alpha and may be subject to change without notice -compiler.optimization_flags={compiler.optimization_flags} +compiler.optimization_flags={build.flags.optimize} {build.flags.debug} compiler.optimization_flags.release={build.flags.optimize} {build.flags.debug} compiler.optimization_flags.debug=-Og -g