anchor.diff:    configureFlags = [
       "--enable-shared"
       "--enable-static"
  +    "--enable-debug"
       "CFLAGS=-fstack-protector-strong"
       # Fix cycle between outputs
       "--disable-wrapper"
  
positive.code:   # so musl can selectively disable as needed
    hardeningDisable = [ "stackprotector" ];
  
    preConfigure = ''
      configureFlagsArray+=("--syslibdir=$out/lib")
    '';
  
negative.code:   outputs = [ "out" "dev" ];
  
    dontDisableStatic = true;
    separateDebugInfo = true;
  
    postInstall =
    ''
      # Not sure why, but link in all but scsi directory as that's what uclibc/glibc do.
      # Apparently glibc provides scsi itself?
      (cd $dev/include && ln -s $(ls -d ${linuxHeaders}/include/* | grep -v "scsi$") .)
    '' + ''
      # Strip debug out of the static library
      $STRIP -S $out/lib/libc.a
    '' + ''
      mkdir -p $out/bin
      # Create 'ldd' symlink, builtin
      ln -s $out/lib/libc.so $out/bin/ldd
  