]> git.sesse.net Git - cubemap/commitdiff
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 40ae397705fdc9f932368669fe754a71f33e6278..1234f796017a1c1ce3520c62ba27a6c03c99a2c0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC=gcc
 CXX=g++
 INSTALL=install
 PROTOC=protoc
 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
 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