Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -166,7 +166,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-multichar -Wno-int-in-bool-context -Wno-format-truncation
 
 # Only add this flag if the compiler supports it
@@ -233,7 +233,7 @@ LDFLAGS += -lxaudio2_9redist
 sdl: $(BIN)/SDL/xaudio2_9redist.dll
 endif
 else
-LDFLAGS += -lc -lm -ldl
+LDFLAGS += -lc -lm
 endif
 
 ifeq ($(MAKECMDGOALS),_ios)
