#!/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
