1
0
mirror of https://github.com/Zygo/bees.git synced 2025-06-15 17:26:15 +02:00

build: add -D_FILE_OFFSET_BITS=64 to makeflags to build on 32-bit hosts

Also update the tests to insist that off_t be at least 64 bits wide.
This commit is contained in:
Zygo Blaxell
2016-12-14 19:02:01 -05:00
parent e835e8766e
commit abd696c524
2 changed files with 4 additions and 22 deletions

View File

@ -1,4 +1,4 @@
CCFLAGS = -Wall -Wextra -Werror -O3 -march=native -I../include -ggdb -fpic
CCFLAGS = -Wall -Wextra -Werror -O3 -march=native -I../include -ggdb -fpic -D_FILE_OFFSET_BITS=64
# CCFLAGS = -Wall -Wextra -Werror -O0 -I../include -ggdb -fpic
CFLAGS = $(CCFLAGS) -std=c99
CXXFLAGS = $(CCFLAGS) -std=c++11 -Wold-style-cast