mirror_ubuntu-kernels/scripts/cc-can-link.sh

12 lines
166 B
Bash
Raw Normal View History

2024-07-02 00:48:40 +03:00
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1
#include <stdio.h>
int main(void)
{
printf("");
return 0;
}
END