$OpenBSD: patch-Makefile,v 1.3 2021/03/09 10:26:57 bentley Exp $

Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -106,7 +106,7 @@ OPEN_DIALOG = OpenDialog/cocoa.m
 endif
 
 # These must come before the -Wno- flags
-WARNINGS += -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option
+WARNINGS += -Wall -Wno-unknown-warning -Wno-unknown-warning-option
 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
@@ -142,7 +142,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)
