File Index
Files and directories
Sign in
FILE

cc-can-link.sh

File preview with syntax highlighting.

linux-6.19.14/scripts/cc-can-link.sh BASH
 1#!/bin/sh
 2# SPDX-License-Identifier: GPL-2.0
 3
 4cat << "END" | $@ -Werror -Wl,--fatal-warnings -x c - -o /dev/null >/dev/null 2>&1
 5#include <stdio.h>
 6int main(void)
 7{
 8	printf("\n");
 9	return 0;
10}
11END
~/ Read-only file preview.