Use __ASSEMBLER__ test macro not ASSEMBLER.
[kopensolaris-gnu/glibc.git] / linuxthreads / sysdeps / i386 / Makefile
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
5
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
10 CFLAGS-condvar.c += -fno-omit-frame-pointer
11 CFLAGS-join.c += -fno-omit-frame-pointer
12 CFLAGS-manager.c += -fno-omit-frame-pointer
13 CFLAGS-oldsemaphore.c += -fno-omit-frame-pointer
14 CFLAGS-pthreads.c += -fno-omit-frame-pointer
15 CFLAGS-ptlongjmp.c += -fno-omit-frame-pointer
16 CFLAGS-semaphore.c += -fno-omit-frame-pointer
17 CFLAGS-signals.c += -fno-omit-frame-pointer
18 endif