projects
/
ccp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcf8a4d
)
Use better configuration for large file access.
author
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Fri, 26 Apr 2013 04:14:36 +0000
(06:14 +0200)
committer
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Fri, 26 Apr 2013 04:14:36 +0000
(06:14 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
447da7b
..
500c48b
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,7
+2,8
@@
PREFIX=$(HOME)
BINDIR=$(PREFIX)/bin
-FLAGS=-D_FILE_OFFSET_BITS=64
+CFLAGS+=$(shell getconf LFS_CFLAGS)
+LDFLAGS+=$(shell getconf LFS_LDFLAGS)
all: ccp cmv
@@
-10,7
+11,7
@@
cmv: ccp
ln -s ccp cmv
ccp: ccp.o
- gcc -o $@ $^
+ gcc
$(LDFLAGS)
-o $@ $^
ccp.o: ccp.c
gcc -Wall $(FLAGS) -c -o $@ $^