Unverified Commit 83ee31f3 authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

darwin.copyfile: remove old bootstrap tools workaround

The version of `clang` in the bootstrap tools now supports C23 empty
initializers.
parent 5ced6bb1
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -78,10 +78,6 @@ mkAppleDerivation {
        --replace-fail '__ptrcheck_abi_assume_single()' "" \
        --replace-fail '__unsafe_indexable' ""
    done

    # clang 16 does not support C23 empty initializers. This can be removed once the bootstrap tools are updated.
    substituteInPlace copyfile.c \
      --replace-fail 'filesec_t fsec_tmp = {};' 'filesec_t fsec_tmp = {0};'
  '';

  env.NIX_CFLAGS_COMPILE = "-I${privateHeaders}/include";