diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-05-01 11:06:45 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-05-01 11:06:45 +0200 |
commit | 547e08eb203efda9417d696e9bed9a88c281abe3 (patch) | |
tree | da11381941b634991565a2b7ac1d8209a54807c2 | |
parent | 0db336fe4665d3ca2e7b0f6c4fa44a32bf5aafd3 (diff) | |
download | pgfuse-547e08eb203efda9417d696e9bed9a88c281abe3.tar.gz pgfuse-547e08eb203efda9417d696e9bed9a88c281abe3.tar.bz2 |
use getconf
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | inc.mak | 7 |
2 files changed, 4 insertions, 6 deletions
@@ -15,9 +15,6 @@ TODO list (in order of priority) and tiny files (without padding to the block size) - make block size detectable per file (there is no reason why different files should not have a different block size) -- allow for size_t and off_t (check int4 which should - be int8, use be64ton and not htonl), flag for 64-bit - (large filesystem)? - establish self-containment (with respect to a temporarily unavailable Postgresql server) - minimal SELinux support, i.e. one fix security context @@ -1,9 +1,9 @@ CC=gcc # for debugging -CFLAGS = -Wall -Werror -g -O0 -pthread +#CFLAGS = -Wall -Werror -g -O0 -pthread # for releasing -#CFLAGS = -Wall -O2 +CFLAGS = -Wall -O2 # redhat has libpq-fe.h and fuse.h in /usr/include, ok @@ -16,7 +16,8 @@ CFLAGS += -I/usr/include/postgresql # declare version of FUSE API we want to program against CFLAGS += -DFUSE_USE_VERSION=26 -CFLAGS += -D_FILE_OFFSET_BITS=64 +# get compilation flags for filesystem +CFLAGS += `getconf LFS_CFLAGS` # debug #CFLAGS += -I/usr/local/include/fuse |