[newlib-cygwin] Cygwin: drop outdated -O3 optimization for malloc and sync
Corinna Vinschen
corinna@sourceware.org
Fri Oct 22 11:25:31 GMT 2021
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=cb21b9cc57e6f82c320c5a2b8817b09094aeac8e
commit cb21b9cc57e6f82c320c5a2b8817b09094aeac8e
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Fri Oct 22 12:47:09 2021 +0200
Cygwin: drop outdated -O3 optimization for malloc and sync
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/Makefile.am | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/winsup/cygwin/Makefile.am b/winsup/cygwin/Makefile.am
index f39560863..24d749987 100644
--- a/winsup/cygwin/Makefile.am
+++ b/winsup/cygwin/Makefile.am
@@ -548,16 +548,6 @@ endif
dtable_CFLAGS=-fcheck-new
-# If an optimization level is explicitly set in CXXFLAGS, set -O3 for these files
-# XXX: this seems to assume it's not -O0?
-#
-# (the indentation here prevents automake trying to process this as an automake
-# conditional)
- ifneq "${filter -O%,$(CXXFLAGS)}" ""
- malloc_CFLAGS=-O3
- sync_CFLAGS=-O3
- endif
-
#
# libraries and installed objects
#
More information about the Cygwin-cvs
mailing list