diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/Makefile')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/Makefile b/sysdeps/unix/sysv/linux/x86_64/Makefile index 9c9e6151d1..fcf835ddcc 100644 --- a/sysdeps/unix/sysv/linux/x86_64/Makefile +++ b/sysdeps/unix/sysv/linux/x86_64/Makefile @@ -1,8 +1,8 @@ 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 +syscall-list-32bit-condition := !defined __x86_64__ +syscall-list-64bit-options := -U__i386__ -D__x86_64__ -D__LP64__ +syscall-list-64bit-condition := defined __x86_64__ ifeq ($(subdir),misc) sysdep_routines += ioperm iopl @@ -17,6 +17,10 @@ ifeq ($(subdir),csu) gen-as-const-headers += ucontext_i.sym endif +ifeq ($(subdir),misc) +gen-as-const-headers += sigaltstack.sym +endif + ifeq ($(subdir),elf) sysdep_routines += dl-vdso endif |