Browse Source

libfuse/Makefile: support CXXFLAGS and LDFLAGS passed via environment

pull/808/head
KARBOWSKI Piotr 4 years ago
parent
commit
f488debf96
  1. 10
      libfuse/Makefile

10
libfuse/Makefile

@ -48,9 +48,10 @@ SRC = \
lib/mount.c
OBJS = $(SRC:lib/%.c=build/%.o)
DEPS = $(SRC:lib/%.c=build/%.d)
CFLAGS = \
$(OPT_FLAGS) \
CFLAGS ?= \
$(OPT_FLAGS)
CFLAGS := \
${CFLAGS} \
-Wall \
-pipe \
-MMD
@ -63,7 +64,8 @@ FUSE_FLAGS = \
-DFUSE_USE_VERSION=29 \
-DPACKAGE_VERSION=\"$(VERSION)\" \
-DFUSERMOUNT_DIR=\"$(FUSERMOUNT_DIR)\"
LDFLAGS = \
LDFLAGS := \
${LDFLAGS} \
-lrt \
-pthread

Loading…
Cancel
Save