projects
/
oweals
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
x86: qemu: Implement PIRQ routing
[oweals/u-boot.git]
/
scripts
/
gcc-stack-usage.sh
1
#!/bin/sh
2
# Test for gcc '-fstack-usage' support
3
# Copyright (C) 2013, Masahiro Yamada <yamada.m@jp.panasonic.com>
4
#
5
# SPDX-License-Identifier: GPL-2.0+
6
#
7
8
TMP="$$"
9
10
cat <<END | $@ -Werror -fstack-usage -x c - -c -o $TMP >/dev/null 2>&1 \
11
&& echo "y"
12
int main(void)
13
{
14
return 0;
15
}
16
END
17
18
rm -f $TMP $TMP.su