games/nlarn: exorcise -Werror
This fixes the build, which previously failed due to some warnings. Approved by: portmgr (build fix blanket) MFH: 2025Q2
This commit is contained in:
parent
f56f31e07c
commit
a34db00ea3
@ -1,6 +1,15 @@
|
|||||||
--- Makefile.orig 2020-05-23 06:13:27 UTC
|
--- Makefile.orig 2020-05-23 06:13:27 UTC
|
||||||
+++ Makefile
|
+++ Makefile
|
||||||
@@ -104,7 +104,7 @@ LDFLAGS += $(shell pkg-config --libs glib-2.0)
|
@@ -57,7 +57,7 @@ DEFINES += -DG_DISABLE_DEPRECATED
|
||||||
|
|
||||||
|
# Definitions required regardless of host OS
|
||||||
|
DEFINES += -DG_DISABLE_DEPRECATED
|
||||||
|
-CFLAGS += -std=c99 -Wall -Wextra -Werror -Iinc -Iinc/external
|
||||||
|
+CFLAGS += -std=c99 -Wall -Wextra -Iinc -Iinc/external
|
||||||
|
LDFLAGS += -lz -lm
|
||||||
|
|
||||||
|
ifneq (,$(findstring MINGW, $(MSYSTEM)))
|
||||||
|
@@ -104,7 +104,7 @@ ifneq ($(SDLPDCURSES),Y)
|
||||||
|
|
||||||
# Unless requested otherwise build with curses.
|
# Unless requested otherwise build with curses.
|
||||||
ifneq ($(SDLPDCURSES),Y)
|
ifneq ($(SDLPDCURSES),Y)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user