diff --git a/bsc/llvm-ompss2/default.nix b/bsc/llvm-ompss2/default.nix index 6bb282b..fdd789a 100644 --- a/bsc/llvm-ompss2/default.nix +++ b/bsc/llvm-ompss2/default.nix @@ -18,7 +18,7 @@ in wrapCCWith rec { echo "-target ${targetConfig}" >> $out/nix-support/cc-cflags echo "-B${gcc.cc}/lib/gcc/${targetConfig}/${gcc.version}" >> $out/nix-support/cc-cflags echo "-L${gcc.cc}/lib/gcc/${targetConfig}/${gcc.version}" >> $out/nix-support/cc-ldflags - echo "-L${gcc.cc.lib}/${targetConfig}/lib" >> $out/nix-support/cc-ldflags + echo "-L${gcc.cc.lib}/lib" >> $out/nix-support/cc-ldflags echo "--gcc-toolchain=${gcc}" >> $out/nix-support/cc-cflags echo "# Hack to include NANOS6_HOME" >> $out/nix-support/setup-hook