File: basic

package info (click to toggle)
gcc-or1k-elf 1.0.11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 64 kB
  • sloc: makefile: 57; sh: 26
file content (13 lines) | stat: -rw-r--r-- 204 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -C -e -f -u

gnu_type=$(sed '/^gnu_type *:= */ !d; s///; q' debian/rules)
cd "$AUTOPKGTEST_TMP"

cat > foo.c <<EOF
int add (int a, int b)
{
  return a+b;
}
EOF
$gnu_type-gcc -nostdlib foo.c