From: Mike Pall Date: Wed, 22 Sep 2010 23:30:53 +0000 (+0200) Subject: Workaround for missing fseeko/ftello prototypes on ancient glibc. X-Git-Tag: v2.0.0-beta6~270 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5beedd6ef817d704df5ff5c491f94b0cdf558c43;p=thirdparty%2FLuaJIT.git Workaround for missing fseeko/ftello prototypes on ancient glibc. --- diff --git a/src/Makefile b/src/Makefile index ea96e91e..596c73d0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -169,7 +169,7 @@ TARGET_DLLNAME= lua$(NODOTABIVER).dll TARGET_XSHLDFLAGS= -shared -fPIC -Wl,-soname,$(TARGET_SONAME) TARGET_DYNXLDOPTS= -TARGET_XCFLAGS= -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE +TARGET_XCFLAGS= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE TARGET_XLDFLAGS= TARGET_XLIBS= -lm TARGET_ACFLAGS= $(CCOPTIONS) $(TARGET_XCFLAGS) $(TARGET_ARCH) $(TARGET_CFLAGS)