mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
genie: Define _FILE_OFFSET_BITS=64 on Linux. (#8808)
This commit is contained in:
parent
15093de56d
commit
11745ec4a5
2 changed files with 5 additions and 2 deletions
4
3rdparty/genie/build/gmake.linux/genie.make
vendored
4
3rdparty/genie/build/gmake.linux/genie.make
vendored
|
@ -46,7 +46,7 @@ ifeq ($(config),release)
|
||||||
OBJDIR = obj/Release
|
OBJDIR = obj/Release
|
||||||
TARGETDIR = ../../bin/linux
|
TARGETDIR = ../../bin/linux
|
||||||
override TARGET = $(TARGETDIR)/genie
|
override TARGET = $(TARGETDIR)/genie
|
||||||
DEFINES += -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN
|
DEFINES += -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -D_FILE_OFFSET_BITS=64
|
||||||
INCLUDES += -I"../../src/host/lua-5.3.0/src"
|
INCLUDES += -I"../../src/host/lua-5.3.0/src"
|
||||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP -MP $(DEFINES) $(INCLUDES)
|
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP -MP $(DEFINES) $(INCLUDES)
|
||||||
ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM) -Wno-implicit-fallthrough
|
ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -Os $(MPARAM) -Wno-implicit-fallthrough
|
||||||
|
@ -133,7 +133,7 @@ ifeq ($(config),debug)
|
||||||
OBJDIR = obj/Debug
|
OBJDIR = obj/Debug
|
||||||
TARGETDIR = ../../bin/linux
|
TARGETDIR = ../../bin/linux
|
||||||
override TARGET = $(TARGETDIR)/genie
|
override TARGET = $(TARGETDIR)/genie
|
||||||
DEFINES += -D_DEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN
|
DEFINES += -D_DEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -D_FILE_OFFSET_BITS=64
|
||||||
INCLUDES += -I"../../src/host/lua-5.3.0/src"
|
INCLUDES += -I"../../src/host/lua-5.3.0/src"
|
||||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP -MP $(DEFINES) $(INCLUDES)
|
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP -MP $(DEFINES) $(INCLUDES)
|
||||||
ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g $(MPARAM) -Wno-implicit-fallthrough
|
ALL_ASMFLAGS += $(ASMFLAGS) $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH) -Wall -Wextra -g $(MPARAM) -Wno-implicit-fallthrough
|
||||||
|
|
3
3rdparty/genie/scripts/genie.lua
vendored
3
3rdparty/genie/scripts/genie.lua
vendored
|
@ -77,6 +77,9 @@
|
||||||
links { "m" }
|
links { "m" }
|
||||||
linkoptions { "-rdynamic" }
|
linkoptions { "-rdynamic" }
|
||||||
|
|
||||||
|
configuration "linux"
|
||||||
|
define { "_FILE_OFFSET_BITS=64" }
|
||||||
|
|
||||||
configuration "macosx"
|
configuration "macosx"
|
||||||
targetdir "../bin/darwin"
|
targetdir "../bin/darwin"
|
||||||
defines { "LUA_USE_MACOSX" }
|
defines { "LUA_USE_MACOSX" }
|
||||||
|
|
Loading…
Reference in a new issue