Files
gentoo/dev-libs/dietlibc/files/dietlibc-0.35-cc.patch
2025-10-03 01:46:01 +01:00

12 lines
323 B
Diff

https://bugs.gentoo.org/722970
--- a/threadsafe.sh
+++ b/threadsafe.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-(gcc -E - << EOF | grep WANT_THREAD_SAFE > /dev/null) || echo libpthread/pthread_*.c
+(${CC} -E - << EOF | grep WANT_THREAD_SAFE > /dev/null) || echo libpthread/pthread_*.c
#include "dietfeatures.h"
WANT_THREAD_SAFE
EOF