Use cc instead of gcc in makeBinaryWrapper

main
Tobias Bergkvist 3 years ago
parent a1e62262bc
commit e3c94f3d6b
  1. 2
      pkgs/build-support/setup-hooks/make-binary-wrapper.sh

@ -28,7 +28,7 @@ assertExecutable() {
# use the `strings` command or open the binary file in a text editor.
makeBinaryWrapper() {
assertExecutable "$1"
makeDocumentedCWrapper "$1" "${@:3}" | gcc -Os -x c -o "$2" -
makeDocumentedCWrapper "$1" "${@:3}" | cc -Os -x c -o "$2" -
}
# Syntax: wrapProgramBinary <PROGRAM> <MAKE-WRAPPER FLAGS...>

Loading…
Cancel
Save