]> Git Repo - J-u-boot.git/blame - scripts/gcc-stack-usage.sh
Merge branch '2021-08-31-kconfig-migrations-part2' into next
[J-u-boot.git] / scripts / gcc-stack-usage.sh
CommitLineData
5b1f1f4a 1#!/bin/sh
83d290c5 2# SPDX-License-Identifier: GPL-2.0+
5b1f1f4a
MY
3# Test for gcc '-fstack-usage' support
4# Copyright (C) 2013, Masahiro Yamada <[email protected]>
5#
5b1f1f4a
MY
6
7TMP="$$"
8
9cat <<END | $@ -Werror -fstack-usage -x c - -c -o $TMP >/dev/null 2>&1 \
10 && echo "y"
11int main(void)
12{
13 return 0;
14}
15END
16
17rm -f $TMP $TMP.su
This page took 0.314331 seconds and 4 git commands to generate.