mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
1d1740d6b1
* sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force compiling for i386 to avoid i686-like GOT pointer computation.
27 lines
659 B
Makefile
27 lines
659 B
Makefile
# The mpn functions need a #define for asm syntax flavor.
|
|
# Every i386 port in use uses gas syntax (I think).
|
|
asm-CPPFLAGS += -DGAS_SYNTAX
|
|
|
|
# The i386 `long double' is a distinct type we support.
|
|
long-double-fcts = yes
|
|
|
|
ifeq ($(subdir),csu)
|
|
# On i686 we must avoid generating the trampoline functions generated
|
|
# to get the GOT pointer.
|
|
CFLAGS-initfini.s += -march=i386
|
|
endif
|
|
|
|
ifeq ($(subdir),db2)
|
|
CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_X86_GCC=1
|
|
endif
|
|
|
|
ifeq ($(subdir),gmon)
|
|
sysdep_routines += i386-mcount
|
|
endif
|
|
|
|
ifeq ($(subdir),elf)
|
|
CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused
|
|
CFLAGS-dl-load.c += -Wno-unused
|
|
CFLAGS-dl-reloc.c += -Wno-unused
|
|
endif
|