comparison libdvdcss/Makefile @ 20708:f5e914d834d3

Add -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 to CFLAGS like upstream does.
author diego
date Sun, 05 Nov 2006 19:06:32 +0000
parents e68f255d7d64
children 7564585e63a4
comparison
equal deleted inserted replaced
20707:a8d7e977ca8d 20708:f5e914d834d3
18 18
19 ifeq ($(OPTFLAGS),) 19 ifeq ($(OPTFLAGS),)
20 OPTFLAGS = -mcpu=pentium -march=pentium -O4 20 OPTFLAGS = -mcpu=pentium -march=pentium -O4
21 endif 21 endif
22 22
23 # \ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
24
25 # -funroll-loops removed, triggered gcc 3.0.4 (3.x?) bug 23 # -funroll-loops removed, triggered gcc 3.0.4 (3.x?) bug
26 CFLAGS= -I.. $(OPTFLAGS) -D__USE_UNIX98 -D_GNU_SOURCE \ 24 CFLAGS= -I.. $(OPTFLAGS) -D__USE_UNIX98 -D_GNU_SOURCE \
27 -DHAVE_LIMITS_H -DHAVE_ERRNO_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H \ 25 -DHAVE_LIMITS_H -DHAVE_ERRNO_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H \
28 -DVERSION=\"1.2.9\" 26 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.2.9\"
29 27
30 ifeq ($(TARGET_OS),CYGWIN) 28 ifeq ($(TARGET_OS),CYGWIN)
31 CFLAGS+=-DSYS_CYGWIN -DWIN32 29 CFLAGS+=-DSYS_CYGWIN -DWIN32
32 endif 30 endif
33 31