Merge tag 'jfs-4.18' of git://github.com/kleikamp/linux-shaggy
[platform/kernel/linux-rpi.git] / scripts / cc-can-link.sh
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3
4 cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1 && echo "y"
5 #include <stdio.h>
6 int main(void)
7 {
8         printf("");
9         return 0;
10 }
11 END