commit f8cd00fc49ab0e91a136d109e5478946ae936956
parent 67637ca084c37948ec2961a792b299d89f7b8463
Author: falkTX <falktx@gmail.com>
Date: Sun, 14 Aug 2016 05:57:51 +0200
Fix "old" MacOS build
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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
# --------------------------------------------------------------