void-packages/srcpkgs/stress-ng/patches/cross.patch
2023-07-09 22:58:08 +02:00

11 lines
355 B
Diff

--- a/Makefile.config
+++ b/Makefile.config
@@ -310,7 +310,7 @@
compiler: configdir
@echo "checking compiler ..."
- @$(CC) test/test-compiler.c -o test/test-compiler
+ @$(HOST_CC) test/test-compiler.c -o test/test-compiler
@echo "" > $(CONFIGS)/$$(./test/test-compiler)
@rm -f test/test-compiler
$(call check,test-glibc,HAVE_GLIBC,using glibc)