--- systest.mk.orig
+++ systest.mk
@@ -1,4 +1,4 @@
 systest: systest.c
-	$(CC) -o systest $(CFLAGS) $(CPPFLAGS) systest.c
+	$(CC_FOR_BUILD) $(XBPS_CFLAGS) -o systest systest.c
 clean:
 	rm -f systest systest.exe
