diff options
author | Joseph Myers <joseph@codesourcery.com> | 2011-12-22 18:22:50 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2011-12-22 18:22:50 +0000 |
commit | 154bfc16225aaa3d3104e758eed2a17297131599 (patch) | |
tree | 7c944bbebea49f962ea036f95e1ae13b61c988c3 /sysdeps/unix/sysv/linux/s390/Makefile | |
parent | 16c6f99208229d7222fd26499749e56137322a3c (diff) | |
download | glibc-154bfc16225aaa3d3104e758eed2a17297131599.tar glibc-154bfc16225aaa3d3104e758eed2a17297131599.tar.gz glibc-154bfc16225aaa3d3104e758eed2a17297131599.tar.bz2 glibc-154bfc16225aaa3d3104e758eed2a17297131599.zip |
Support building bits/syscall.h for any number of subarch variants.
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390/Makefile')
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/Makefile b/sysdeps/unix/sysv/linux/s390/Makefile index 72eae688db..fb20fb05ac 100644 --- a/sysdeps/unix/sysv/linux/s390/Makefile +++ b/sysdeps/unix/sysv/linux/s390/Makefile @@ -1,4 +1,9 @@ -64bit-predefine = __s390x__ +syscall-list-variants := 32bit 64bit +syscall-list-32bit-options := -U__s390x__ +syscall-list-32bit-condition := __WORDSIZE == 32 +syscall-list-64bit-options := -D__s390x__ +syscall-list-64bit-condition := __WORDSIZE == 64 + ifeq ($(subdir),rt) librt-routines += rt-sysdep endif |