aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64/Makefile')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile b/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile
new file mode 100644
index 0000000000..c73c2b6c26
--- /dev/null
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/Makefile
@@ -0,0 +1,4 @@
+ifeq ($(subdir),nptl)
+# We need to make sure that stack memory is allocated in the low 4GB.
+CFLAGS-pthread_create.c += -DARCH_MAP_FLAGS=MAP_32BIT
+endif