aboutsummaryrefslogtreecommitdiff
path: root/perl/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-26 17:04:45 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-26 17:04:45 +0200
commit98a2adb1359ec35ac8da7a52754d2290531f8cef (patch)
treeac8d7d29f92f805126faf453ef3eb86c41f896af /perl/local.mk
parent6734c18c99f8fa33a50a3045a8dd915bbf084255 (diff)
Simplify building nix-perl in nix-shell
Diffstat (limited to 'perl/local.mk')
-rw-r--r--perl/local.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/local.mk b/perl/local.mk
index 35113bd96..b13d4c0d6 100644
--- a/perl/local.mk
+++ b/perl/local.mk
@@ -20,11 +20,11 @@ Store_DIR := lib/Nix
Store_SOURCES := $(Store_DIR)/Store.cc
Store_CXXFLAGS = \
- -I$(shell $(perl) -e 'use Config; print $$Config{archlibexp};')/CORE \
+ $(NIX_CFLAGS) \
+ -I$(shell perl -e 'use Config; print $$Config{archlibexp};')/CORE \
-D_FILE_OFFSET_BITS=64 \
-Wno-unknown-warning-option -Wno-unused-variable -Wno-literal-suffix \
- -Wno-reserved-user-defined-literal -Wno-duplicate-decl-specifier -Wno-pointer-bool-conversion \
- $(NIX_CFLAGS)
+ -Wno-reserved-user-defined-literal -Wno-duplicate-decl-specifier -Wno-pointer-bool-conversion
Store_LDFLAGS := $(SODIUM_LIBS) $(NIX_LIBS)