mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 16:36:20 +08:00
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:
1 parent
7d02393067
commit
53dbc939ed
1 file changed
-1
Notes:
git
2026-10-21 07:30:15 +00:00
@@ -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
|
||||
|
||||
Reference in new issue
Block a user