musl: remove bigstack build option.
This commit is contained in:
parent
c651c9be6b
commit
9d18562247
2 changed files with 0 additions and 19 deletions
|
@ -1,14 +0,0 @@
|
|||
--- src/internal/pthread_impl.h.orig 2017-06-28 22:52:51.000000000 +0000
|
||||
+++ src/internal/pthread_impl.h 2017-06-28 22:52:59.297555622 +0000
|
||||
@@ -141,7 +141,11 @@
|
||||
void __block_app_sigs(void *);
|
||||
void __restore_sigs(void *);
|
||||
|
||||
+#ifdef VOID_BIGSTACK
|
||||
+#define DEFAULT_STACK_SIZE 8388608
|
||||
+#else
|
||||
#define DEFAULT_STACK_SIZE 81920
|
||||
+#endif
|
||||
#define DEFAULT_GUARD_SIZE 4096
|
||||
|
||||
#define __ATTRP_C11_THREAD ((void*)(uintptr_t)-1)
|
|
@ -17,11 +17,6 @@ nostrip_files="libc.so"
|
|||
shlib_provides="libc.so"
|
||||
only_for_archs="i686-musl x86_64-musl armv5tel-musl armv6l-musl armv7l-musl aarch64-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl"
|
||||
|
||||
desc_option_bigstack="bigger default pthread stack size"
|
||||
build_options="bigstack"
|
||||
|
||||
CFLAGS="$(vopt_if bigstack -DVOID_BIGSTACK)"
|
||||
|
||||
post_build() {
|
||||
$CC $CFLAGS $LDFLAGS ${FILESDIR}/getent.c -o getent
|
||||
$CC $CFLAGS $LDFLAGS ${FILESDIR}/getconf.c -o getconf
|
||||
|
|
Loading…
Reference in a new issue