summaryrefslogtreecommitdiff
path: root/inc.mak
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-05-01 11:06:45 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-05-01 11:06:45 +0200
commit547e08eb203efda9417d696e9bed9a88c281abe3 (patch)
treeda11381941b634991565a2b7ac1d8209a54807c2 /inc.mak
parent0db336fe4665d3ca2e7b0f6c4fa44a32bf5aafd3 (diff)
downloadpgfuse-547e08eb203efda9417d696e9bed9a88c281abe3.tar.gz
pgfuse-547e08eb203efda9417d696e9bed9a88c281abe3.tar.bz2
use getconf
Diffstat (limited to 'inc.mak')
-rw-r--r--inc.mak7
1 files changed, 4 insertions, 3 deletions
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