From: David ‘Bombe’ Roden Date: Thu, 25 Apr 2013 21:42:34 +0000 (+0200) Subject: Use 64 bit file offsets. X-Git-Url: https://git.pterodactylus.net/?p=ccp.git;a=commitdiff_plain;h=bcf8a4dc691d4154a62a3f1dfdb8500756d2f991 Use 64 bit file offsets. --- diff --git a/Makefile b/Makefile index ed17d66..447da7b 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,8 @@ PREFIX=$(HOME) BINDIR=$(PREFIX)/bin +FLAGS=-D_FILE_OFFSET_BITS=64 + all: ccp cmv cmv: ccp @@ -11,7 +13,7 @@ ccp: ccp.o gcc -o $@ $^ ccp.o: ccp.c - gcc -Wall -c -o $@ $^ + gcc -Wall $(FLAGS) -c -o $@ $^ install: all cp ccp "$(BINDIR)/ccp"