ec92d4d331
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
9 lines
282 B
Text
9 lines
282 B
Text
#! @shell@ -e
|
|
|
|
printf -v extraArgs ',\"%s\"' \
|
|
$(cat @clang@/nix-support/libc-cflags \
|
|
@clang@/nix-support/libcxx-cxxflags) \
|
|
${NIX_CFLAGS_COMPILE}
|
|
initString="--init={\"clang\":{\"extraArgs\":[${extraArgs:1}]}}"
|
|
|
|
exec -a "$0" "@out@/bin/@wrapped@" "${initString}" "$@"
|