build: add -D_FILE_OFFSET_BITS=64 to _CPPFLAGS instead of _CFLAGS
* tests/Makefile.am (fstat64_CFLAGS): Rename to fstat64_CPPFLAGS, replace $(AM_CFLAGS) with $(AM_CPPFLAGS). (fstatat64_CFLAGS): Rename to fstatat64_CPPFLAGS, replace $(AM_CFLAGS) with $(AM_CPPFLAGS). (ftruncate64_CFLAGS): Rename to ftruncate64_CPPFLAGS, replace $(AM_CFLAGS) with $(AM_CPPFLAGS). (lstat64_CFLAGS): Rename to lstat64_CPPFLAGS, replace $(AM_CFLAGS) with $(AM_CPPFLAGS). (mmap64_CFLAGS): Rename to mmap64_CPPFLAGS, replace $(AM_CFLAGS) with $(AM_CPPFLAGS). (newfstatat_CFLAGS): Rename to newfstatat_CPPFLAGS, replace $(AM_CFLAGS) with $(AM_CPPFLAGS). (stat64_CFLAGS): Rename to stat64_CPPFLAGS, replace $(AM_CFLAGS) with $(AM_CPPFLAGS). (statfs_CFLAGS): Rename to statfs_CPPFLAGS, replace $(AM_CFLAGS) with $(AM_CPPFLAGS). (truncate64_CFLAGS): Rename to truncate64_CPPFLAGS, replace $(AM_CFLAGS) with $(AM_CPPFLAGS). (uio_CFLAGS): Rename to uio_CPPFLAGS, replace $(AM_CFLAGS) with $(AM_CPPFLAGS).
This commit is contained in:
parent
323cc92d60
commit
77c0cde116
@ -116,19 +116,19 @@ check_PROGRAMS = \
|
||||
|
||||
clock_xettime_LDADD = -lrt
|
||||
filter_unavailable_LDADD = -lpthread
|
||||
fstat64_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
fstatat64_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
ftruncate64_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
lstat64_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
mmap64_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
fstat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
fstatat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
ftruncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
lstat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
mmap64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
mq_LDADD = -lrt
|
||||
newfstatat_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
newfstatat_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
pc_LDADD = $(dl_LIBS)
|
||||
stat64_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
statfs_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
stat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
statfs_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
times_LDADD = -lrt
|
||||
truncate64_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
uio_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
truncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
uio_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
|
||||
stack_fcall_SOURCES = stack-fcall.c \
|
||||
stack-fcall-0.c stack-fcall-1.c stack-fcall-2.c stack-fcall-3.c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user