Skip to content

Commit 5e7fe59

Browse files
committedMar 13, 2025
8349214: Improve size optimization flags for MSVC builds
Backport-of: 40603a5bf039eef03c157bfc49ac8ea2229a94de
1 parent 8a4f476 commit 5e7fe59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎make/autoconf/flags-cflags.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
354354
C_O_FLAG_DEBUG="-Od"
355355
C_O_FLAG_DEBUG_JVM=""
356356
C_O_FLAG_NONE="-Od"
357-
C_O_FLAG_SIZE="-Os"
357+
C_O_FLAG_SIZE="-O1"
358358
fi
359359
360360
# Now copy to C++ flags

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Mar 13, 2025

@openjdk-notifier[bot]
Please sign in to comment.