diff --git a/GNUmakefile b/GNUmakefile index 414eb5f3..0253a32d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -502,7 +502,7 @@ $(UV_OBJS): CFLAGS += \ -Wno-unused-but-set-variable \ -Wno-unused-result \ -Wno-unused-variable -$(UV_OBJS): CFLAGS := $(filter-out -flto,$(CFLAGS)) +$(UV_OBJS): CFLAGS += -fno-lto $(filter out/win%,$(UV_OBJS)): CFLAGS += -Wno-cast-function-type ifeq ($(UNAME_S),Linux) $(UV_OBJS): CFLAGS += \