summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 00:05:06 -0800
committerNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 00:05:06 -0800
commitdb8e2f4a2a188c7bbfe0fee95417a987cc105b87 (patch)
tree55b69dfbd2391c0cd49c5df68ee7917e5270b93f /Makefile
parent8e6f94ffffcc992c24393be15d8f984a5c5eef6f (diff)
Now that libeio is out, we can work again with 64 bits file operations.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ad152a1..42263b5 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,7 @@ endif
INCLUDES = includes libcoro libev LuaJIT/src
LIBS = z
+DEFINES = _LARGEFILE64_SOURCE
ifeq ($(SYSTEM),Darwin)
CC = clang
@@ -103,7 +104,7 @@ ifeq ($(SYSTEM),Linux)
endif
CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) -fexceptions -imacros $(CONFIG_H)
-CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
+CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS) $(addprefix -D, $(DEFINES))
CXXFLAGS += -Wno-deprecated -std=gnu++0x