+# Old logs used Architecture instead of Build Architecture (sbuild <<
+# 0.63.0-1).
+Architecture: arm
dpkg-buildpackage: source package test
-dpkg-buildpackage: host architecture is ia64
-# Old buildd logs use "host architecture is ia64" (note the "is"). Detect the
-# architecture correctly for those logs.
-
-gcc -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -Wformat -Wformat-security -Werror=format-security -Wall -c test.c
-gcc -fPIE -pie -o test test.o
+gcc -g -O2 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test.c