mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
The CET is only supported for x86_64 and there is no plan to add kernel support for i386. Move the Makefile rules and files from the generic x86 folder to x86_64 one. Checked on x86_64-linux-gnu and i686-linux-gnu.
23 lines
567 B
Makefile
23 lines
567 B
Makefile
# We don't need any header files.
|
|
abi-includes :=
|
|
|
|
abi-variants := 32 64 x32
|
|
|
|
abi-32-condition := !defined __x86_64__
|
|
abi-64-condition := defined __x86_64__ && defined __LP64__
|
|
abi-x32-condition := defined __x86_64__ && defined __ILP32__
|
|
|
|
ifeq ($(subdir),misc)
|
|
sysdep_headers += sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h sys/io.h
|
|
endif
|
|
|
|
ifeq ($(subdir),nptl)
|
|
CFLAGS-elision-lock.c += -mrtm
|
|
CFLAGS-elision-unlock.c += -mrtm
|
|
CFLAGS-elision-timed.c += -mrtm
|
|
CFLAGS-elision-trylock.c += -mrtm
|
|
endif
|
|
|
|
ifeq ($(subdir),setjmp)
|
|
tests += tst-saved_mask-1
|
|
endif
|