Dummy implementation of the pthread library.
This is needed since libstdc++ uses pthread_once(). llvm-svn: 10360
This commit is contained in:
parent
98cd4bf06f
commit
eaf4835c65
|
@ -0,0 +1,14 @@
|
|||
##===- runtime/GCCLibraries/libpthread/Makefile ------------*- Makefile -*-===##
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file was developed by the LLVM research group and is distributed under
|
||||
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
LEVEL = ../../..
|
||||
BYTECODE_LIBRARY=1
|
||||
DONT_BUILD_RELINKED=1
|
||||
LIBRARYNAME=pthread
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
|
@ -0,0 +1,8 @@
|
|||
#include <pthread.h>
|
||||
|
||||
int
|
||||
pthread_once (pthread_once_t * control, void (*func) (void))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue