mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 02:24:30 +00:00
root: fix darwin build
This commit is contained in:
parent
db99d98201
commit
848699d4c1
@ -223,6 +223,9 @@ stdenv.mkDerivation rec {
|
||||
]}"
|
||||
'';
|
||||
|
||||
# error: aligned allocation function of type 'void *(std::size_t, std::align_val_t)' is only available on macOS 10.13 or newer
|
||||
CXXFLAGS = lib.optional (stdenv.hostPlatform.system == "x86_64-darwin") "-faligned-allocation";
|
||||
|
||||
# To use the debug information on the fly (without installation)
|
||||
# add the outPath of root.debug into NIX_DEBUG_INFO_DIRS (in PATH-like format)
|
||||
# and make sure that gdb from Nixpkgs can be found in PATH.
|
||||
|
Loading…
Reference in New Issue
Block a user