Compile with large file support, especially since pwritev() on 32-bit x86 seems to...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 6 Feb 2014 23:42:40 +0000 (00:42 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 6 Feb 2014 23:42:40 +0000 (00:42 +0100)
Makefile

index 40ae397..1234f79 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC=gcc
 CXX=g++
 INSTALL=install
 PROTOC=protoc
-CXXFLAGS=-Wall -O2 -g -pthread
+CXXFLAGS=-Wall -O2 -g -pthread $(shell getconf LFS_CFLAGS)
 LDLIBS=-lprotobuf -pthread -lrt
 
 OBJS=main.o client.o server.o stream.o udpstream.o serverpool.o mutexlock.o input.o input_stats.o httpinput.o udpinput.o parse.o config.o markpool.o acceptor.o stats.o accesslog.o thread.o util.o log.o metacube2.o sa_compare.o state.pb.o