treewide: NIX_*_COMPILE -> string
This commit is contained in:
@@ -16,10 +16,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libbfd libnl ncurses readline zlib ];
|
||||
|
||||
# To avoid running into https://sourceware.org/bugzilla/show_bug.cgi?id=14243 we need to define:
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-DPACKAGE=${pname}"
|
||||
"-DPACKAGE_VERSION=${version}"
|
||||
];
|
||||
NIX_CFLAGS_COMPILE = "-DPACKAGE=${pname} -DPACKAGE_VERSION=${version}";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ in stdenv.mkDerivation {
|
||||
./do-not-create-sharedstatedir.patch
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-I${gnu-efi}/include/efi" "-Wno-error=address-of-packed-member" ];
|
||||
NIX_CFLAGS_COMPILE = "-I${gnu-efi}/include/efi -Wno-error=address-of-packed-member";
|
||||
|
||||
# TODO: Just apply the disable to the efi subdir
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
|
||||
Reference in New Issue
Block a user