mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Simplify building nix-perl in nix-shell
This commit is contained in:
parent
6734c18c99
commit
98a2adb135
5 changed files with 15 additions and 6 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue