Source: stress-ng Version: 0.11.22-1 Tags: patch upstream User: [email protected] Usertags: ftcbfs
stress-ng fails to cross build from source. The build step actually succeeds, but it also touches stress-ng.c, so that file gets rebuilt during make install. Unfortunately, dh_auto_install does not pass cross tools, so it uses the wrong compiler and fails. Please consider applying the attached patch to avoid this unnecessary rebuild. Once doing so, stress-ng cross builds successfully again. Helmut
--- stress-ng-0.11.22.orig/Makefile +++ stress-ng-0.11.22/Makefile @@ -424,7 +424,6 @@ stress-vecmath.o: stress-vecmath.c @echo CC $< @$(CC) $(CFLAGS) -fno-builtin -c -o $@ $< - @touch stress-ng.c $(OBJS): stress-ng.h Makefile

