Use cc instead of gcc in makeBinaryWrapper

This commit is contained in:
Tobias Bergkvist 2021-12-02 02:07:17 +01:00
parent a1e62262bc
commit e3c94f3d6b

View File

@ -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...>