mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
Closes: https://bugs.gentoo.org/944229 Closes: https://bugs.gentoo.org/722970 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/43954 Signed-off-by: Sam James <sam@gentoo.org>
12 lines
323 B
Diff
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
|