Files
linux-apfs/scripts/gcc-goto.sh
T

6 lines
224 B
Bash
Raw Normal View History

2010-09-17 11:09:00 -04:00
#!/bin/sh
2011-06-16 00:17:46 +02:00
# Test for gcc 'asm goto' support
2010-09-17 11:09:00 -04:00
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"