Makefile: compile with LFS flags to support large files on 32bit.
This commit is contained in:
parent
fca8bba289
commit
8e9f51338b
2 changed files with 4 additions and 4 deletions
4
Makefile
4
Makefile
|
|
@ -3,9 +3,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -O2 -Werror -Ilib
|
CFLAGS = -O2 -Werror -Ilib $(shell getconf LFS_CFLAGS)
|
||||||
LD = $(CC)
|
LD = $(CC)
|
||||||
LDFLAGS =
|
LDFLAGS = $(shell getconf LFS_LDFLAGS)
|
||||||
|
|
||||||
FINDOBJ = find . -name "*.o" -type f -printf "%P\n"
|
FINDOBJ = find . -name "*.o" -type f -printf "%P\n"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Test makefile
|
# Test makefile
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CFLAGS=-g -D__DEBUG__
|
CFLAGS=-g -D__DEBUG__ $(shell getconf LFS_CFLAGS)
|
||||||
LDFLAGS=-L/usr/lib64/mysql -lmysqlclient
|
LDFLAGS=-L/usr/lib64/mysql -lmysqlclient $(shell getconf LFS_LDFLAGS)
|
||||||
|
|
||||||
all : raw_inotify strbuf path rbtree inotify fscrawl queue
|
all : raw_inotify strbuf path rbtree inotify fscrawl queue
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue