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 /inc.mak | |
parent | 0db336fe4665d3ca2e7b0f6c4fa44a32bf5aafd3 (diff) | |
download | pgfuse-547e08eb203efda9417d696e9bed9a88c281abe3.tar.gz pgfuse-547e08eb203efda9417d696e9bed9a88c281abe3.tar.bz2 |
use getconf
Diffstat (limited to 'inc.mak')
-rw-r--r-- | inc.mak | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |