From 696b75cdc8608239f2ab1c08b46f3c48dc7e3984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Thu, 11 Apr 2024 23:47:26 +0200 Subject: [PATCH] compilers: Fix Swift optimize-for-size arg mapping --- mesonbuild/compilers/swift.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/compilers/swift.py b/mesonbuild/compilers/swift.py index 66460c0c6537..a867c7ceda75 100644 --- a/mesonbuild/compilers/swift.py +++ b/mesonbuild/compilers/swift.py @@ -24,7 +24,7 @@ '1': ['-O'], '2': ['-O'], '3': ['-O'], - 's': ['-O'], + 's': ['-Osize'], } class SwiftCompiler(Compiler):