mirror of
https://github.com/scummvm/dockerized-bb.git
synced 2026-05-21 05:40:49 +00:00
3DS: Fix makerom build
Missing -D_GNU_SOURCE makes strdup implictly defined as returning a (32-bit) int instead of a pointer
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
diff --git a/makerom/deps/libyaml/makefile b/makerom/deps/libyaml/makefile
|
||||
index 785e3b8..a6dfba7 100644
|
||||
--- a/makerom/deps/libyaml/makefile
|
||||
+++ b/makerom/deps/libyaml/makefile
|
||||
@@ -86,7 +86,7 @@ else ifeq ($(PROJECT_PLATFORM), GNU)
|
||||
#CXX =
|
||||
WARNFLAGS = -Wall -Wno-unused-value -Wno-unused-but-set-variable
|
||||
ARCHFLAGS =
|
||||
- INC +=
|
||||
+ INC += -D_GNU_SOURCE
|
||||
LIB +=
|
||||
ARFLAGS = cr -o
|
||||
else ifeq ($(PROJECT_PLATFORM), MACOS)
|
||||
Reference in New Issue
Block a user