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/x86_64 | |
parent | 16c6f99208229d7222fd26499749e56137322a3c (diff) | |
download | glibc-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/x86_64')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/Makefile b/sysdeps/unix/sysv/linux/x86_64/Makefile index 6e2741a967..9c9e6151d1 100644 --- a/sysdeps/unix/sysv/linux/x86_64/Makefile +++ b/sysdeps/unix/sysv/linux/x86_64/Makefile @@ -1,5 +1,8 @@ -32bit-predefine = __i386__ -64bit-predefine = __x86_64__ +syscall-list-variants := 32bit 64bit +syscall-list-32bit-options := -D__i386__ -U__x86_64__ +syscall-list-32bit-condition := __WORDSIZE == 32 +syscall-list-64bit-options := -U__i386__ -D__x86_64__ +syscall-list-64bit-condition := __WORDSIZE == 64 ifeq ($(subdir),misc) sysdep_routines += ioperm iopl |