From 547e08eb203efda9417d696e9bed9a88c281abe3 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 1 May 2012 11:06:45 +0200 Subject: use getconf --- inc.mak | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'inc.mak') diff --git a/inc.mak b/inc.mak index a26cc19..7238599 100644 --- a/inc.mak +++ b/inc.mak @@ -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 -- cgit v1.2.3-54-g00ecf