Archived
1
0
Fork 0

Makefile: compile with LFS flags to support large files on 32bit.

This commit is contained in:
Henrik Hautakoski 2010-11-20 08:08:36 +01:00
parent fca8bba289
commit 8e9f51338b
2 changed files with 4 additions and 4 deletions

View file

@ -3,9 +3,9 @@
#
CC = gcc
CFLAGS = -O2 -Werror -Ilib
CFLAGS = -O2 -Werror -Ilib $(shell getconf LFS_CFLAGS)
LD = $(CC)
LDFLAGS =
LDFLAGS = $(shell getconf LFS_LDFLAGS)
FINDOBJ = find . -name "*.o" -type f -printf "%P\n"

View file

@ -1,7 +1,7 @@
# Test makefile
CC=gcc
CFLAGS=-g -D__DEBUG__
LDFLAGS=-L/usr/lib64/mysql -lmysqlclient
CFLAGS=-g -D__DEBUG__ $(shell getconf LFS_CFLAGS)
LDFLAGS=-L/usr/lib64/mysql -lmysqlclient $(shell getconf LFS_LDFLAGS)
all : raw_inotify strbuf path rbtree inotify fscrawl queue