aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/llvm/7/lldb.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-12-15 12:13:26 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-12-15 13:27:01 -0600
commit1d6b0eb7dd7264eec2b3527187280fbe23352be0 (patch)
treeb8db7df2278306331484c1047ea7711e2a14fcda /pkgs/development/compilers/llvm/7/lldb.nix
parent921d046537f6d7f0fc0db07b7aa46be7e9df030b (diff)
lldb: add cf-private on darwin
This is necessary to avoid objc errors like: "_OBJC_CLASS_$_NSDictionary", referenced from: objc-class-ref in liblldbHost.a(HostInfoMacOSX.mm.o) objc-class-ref in liblldbPluginPlatformMacOSX.a(PlatformiOSSimulatorCoreSimulatorSupport.mm.o) ld: symbol(s) not found for architecture x86_64
Diffstat (limited to 'pkgs/development/compilers/llvm/7/lldb.nix')
-rw-r--r--pkgs/development/compilers/llvm/7/lldb.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/llvm/7/lldb.nix b/pkgs/development/compilers/llvm/7/lldb.nix
index 6c3f0699978f..809e992ac586 100644
--- a/pkgs/development/compilers/llvm/7/lldb.nix
+++ b/pkgs/development/compilers/llvm/7/lldb.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake python which swig ];
buildInputs = [ ncurses zlib libedit libxml2 llvm ]
- ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa ];
+ ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa darwin.cf-private ];
CXXFLAGS = "-fno-rtti";
hardeningDisable = [ "format" ];