Remove obsolete -mno-cygwin flag

GCC removed the `-mno-cygwin` option in the 4.x series, so any GCC
recent enough to build Ruby rejects it and the dllwrap path for
`--disable-shared` builds fails with it.
This commit is contained in:
Hiroshi SHIBATA committed 2026-07-16 09:47:27 +09:00
1 parent 7d02393067
commit 53dbc939ed
1 file changed
-1
Notes: git 2026-10-21 07:30:15 +00:00
-1
View File
@@ -16,7 +16,6 @@ ifeq ($(target_os),cygwin)
DLL_BASE_NAME := $(LIBRUBY_SO:.dll=)
else
DLL_BASE_NAME := $(RUBY_SO_NAME)
DLLWRAP += -mno-cygwin
VPATH := $(VPATH):$(srcdir)/win32
ifneq ($(filter -flto%,$(LDFLAGS)),)
miniruby$(EXEEXT): XLDFLAGS += -Wno-maybe-uninitialized