mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
f2cfc158b2
Do not set FUSERMOUNT_DIR since we already set it though NIX_CFLAGS_COMPILE. Setting it twice results in a lot of warnings like this one: <command-line>:0:0: warning: "FUSERMOUNT_DIR" redefined which makes the build look potentially broken. This doesn't affect the result but fuse3 will now build without any warnings and building fuse yields less warnings.
12 lines
376 B
Diff
12 lines
376 B
Diff
--- a/lib/Makefile.am
|
|
+++ b/lib/Makefile.am
|
|
@@ -1,7 +1,7 @@
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
-AM_CPPFLAGS = -I$(top_srcdir)/include -DFUSERMOUNT_DIR=\"$(bindir)\" \
|
|
+AM_CPPFLAGS = -I$(top_srcdir)/include \
|
|
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -DFUSE_USE_VERSION=26
|
|
|
|
lib_LTLIBRARIES = libfuse.la libulockmgr.la
|