Skip to content

Commit 850e7ac

Browse files
fpistmtadtruex
authored andcommitted
fix(platform): wrong optimization_flags for Arduino 1.8.x
Introduced by stm32duino#2184. Fixes stm32duino#2244. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent eeb6843 commit 850e7ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ compiler.warning_flags.all=-Wall -Wextra
1919

2020
# EXPERIMENTAL feature: optimization flags
2121
# - this is alpha and may be subject to change without notice
22-
compiler.optimization_flags={compiler.optimization_flags}
22+
compiler.optimization_flags={build.flags.optimize} {build.flags.debug}
2323
compiler.optimization_flags.release={build.flags.optimize} {build.flags.debug}
2424
compiler.optimization_flags.debug=-Og -g
2525

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy