about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sparc/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-12-22 18:22:50 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-12-22 18:22:50 +0000
commit154bfc16225aaa3d3104e758eed2a17297131599 (patch)
tree7c944bbebea49f962ea036f95e1ae13b61c988c3 /sysdeps/unix/sysv/linux/sparc/Makefile
parent16c6f99208229d7222fd26499749e56137322a3c (diff)
downloadglibc-154bfc16225aaa3d3104e758eed2a17297131599.tar.gz
glibc-154bfc16225aaa3d3104e758eed2a17297131599.tar.xz
glibc-154bfc16225aaa3d3104e758eed2a17297131599.zip
Support building bits/syscall.h for any number of subarch variants.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/Makefile b/sysdeps/unix/sysv/linux/sparc/Makefile
index 9cb2a634d5..96bf0bbd16 100644
--- a/sysdeps/unix/sysv/linux/sparc/Makefile
+++ b/sysdeps/unix/sysv/linux/sparc/Makefile
@@ -1,4 +1,8 @@
-64bit-predefine = __sparc_v9__ __arch64__
+syscall-list-variants := 32bit 64bit
+syscall-list-32bit-options := -U__sparc_v9__ -U__arch64__
+syscall-list-32bit-condition := __WORDSIZE == 32
+syscall-list-64bit-options := -D__sparc_v9__ -D__arch64__
+syscall-list-64bit-condition := __WORDSIZE == 64
 
 ifeq ($(subdir),rt)
 librt-routines += rt-sysdep