22 lines
727 B
Text
22 lines
727 B
Text
|
Index: Makefile
|
||
|
--- Makefile.orig
|
||
|
+++ Makefile
|
||
|
@@ -112,7 +112,7 @@ OPEN_DIALOG = OpenDialog/cocoa.m
|
||
|
endif
|
||
|
|
||
|
# These must come before the -Wno- flags
|
||
|
-WARNINGS += -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option -Wno-missing-braces
|
||
|
+WARNINGS += -Wall -Wno-unknown-warning -Wno-unknown-warning-option -Wno-missing-braces
|
||
|
WARNINGS += -Wno-nonnull -Wno-unused-result -Wno-strict-aliasing -Wno-multichar -Wno-int-in-bool-context -Wno-format-truncation
|
||
|
|
||
|
# Only add this flag if the compiler supports it
|
||
|
@@ -174,7 +174,7 @@ LDFLAGS += -lmsvcrt -lcomdlg32 -luser32 -lshell32 -lol
|
||
|
SDL_LDFLAGS := -lSDL2
|
||
|
GL_LDFLAGS := -lopengl32
|
||
|
else
|
||
|
-LDFLAGS += -lc -lm -ldl
|
||
|
+LDFLAGS += -lc -lm
|
||
|
endif
|
||
|
|
||
|
ifeq ($(PLATFORM),Darwin)
|