Skip to content

Commit 4979968

Browse files
committed
O is for optimized: add the optimized flag for release builds
1 parent 842383a commit 4979968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def generate_products(self):
111111
if Configuration.current.build_mode == Configuration.Debug:
112112
swift_flags += "-g -Onone "
113113
elif Configuration.current.build_mode == Configuration.Release:
114-
swift_flags += " "
114+
swift_flags += "-O "
115115

116116
swift_flags += Configuration.current.extra_swift_flags
117117

0 commit comments

Comments
 (0)