зеркало из https://github.com/github/ruby.git
Suppress maybe-uninitialized warning on mingw
The compilation time pragma seems not applied to inline functions expanded by the link time optimization. The local variable `mi` in thread_win32.c:native_thread_init_stack is warned.
This commit is contained in:
Родитель
8c10fd2583
Коммит
601c67e42c
|
@ -16,6 +16,9 @@ else
|
|||
DLL_BASE_NAME := $(RUBY_SO_NAME)
|
||||
DLLWRAP += -mno-cygwin
|
||||
VPATH := $(VPATH):$(srcdir)/win32
|
||||
ifneq ($(filter -flto%,$(LDFLAGS)),)
|
||||
miniruby$(EXEEXT): XLDFLAGS += -Wno-maybe-uninitialized
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(ENABLE_SHARED),yes)
|
||||
|
|
Загрузка…
Ссылка в новой задаче