diff --git a/dgl/Makefile b/dgl/Makefile index dfaa29c8..fc61422b 100644 --- a/dgl/Makefile +++ b/dgl/Makefile @@ -12,11 +12,13 @@ BUILD_C_FLAGS += $(DGL_FLAGS) -I. -Isrc BUILD_CXX_FLAGS += $(DGL_FLAGS) -I. -Isrc LINK_FLAGS += $(DGL_LIBS) +ifneq ($(MACOS_OLD),true) # needed by sofd right now, fix later BUILD_CXX_FLAGS += -Wno-type-limits -fpermissive # needed by stb_image BUILD_CXX_FLAGS += -Wno-misleading-indentation -Wno-shift-negative-value +endif # --------------------------------------------------------------