(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
[glibc.git] / linuxthreads / sysdeps / i386 / Makefile
blob418fa5c6efe0853b6412eb0551abee2ad2c4c291
1 ifeq ($(subdir),linuxthreads)
2 # On i686 we must avoid generating the trampoline functions generated
3 # to get the GOT pointer.
4 CFLAGS-pt-initfini.s += -march=i386 -mcpu=i386
6 # Most files must not be compiled without frame pointer since we need
7 # the frame base address which is stored in %ebp unless the frame pointer
8 # is optimized out.
9 CFLAGS-cancel.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4
10 CFLAGS-condvar.c += -fno-omit-frame-pointer
11 CFLAGS-join.c += -fno-omit-frame-pointer
12 CFLAGS-manager.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4
13 CFLAGS-oldsemaphore.c += -fno-omit-frame-pointer
14 CFLAGS-pthread.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4
15 CFLAGS-ptlongjmp.c += -fno-omit-frame-pointer
16 CFLAGS-semaphore.c += -fno-omit-frame-pointer
17 CFLAGS-sighandler.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4
18 CFLAGS-tst-align.c += -mpreferred-stack-boundary=4
19 endif
21 ifeq ($(subdir),csu)
22 gen-as-const-headers += tcb-offsets.sym
23 endif