2001-02-02 06:54:15 +00:00
|
|
|
ifeq ($(subdir),linuxthreads)
|
|
|
|
# On i686 we must avoid generating the trampoline functions generated
|
|
|
|
# to get the GOT pointer.
|
|
|
|
CFLAGS-pt-initfini.s += -march=i386 -mcpu=i386
|
2001-04-12 23:03:41 +00:00
|
|
|
|
|
|
|
# Most files must not be compiled without frame pointer since we need
|
|
|
|
# the frame base address which is stored in %ebp unless the frame pointer
|
|
|
|
# is optimized out.
|
|
|
|
CFLAGS-cancel.c += -fno-omit-frame-pointer
|
|
|
|
CFLAGS-condvar.c += -fno-omit-frame-pointer
|
|
|
|
CFLAGS-join.c += -fno-omit-frame-pointer
|
|
|
|
CFLAGS-manager.c += -fno-omit-frame-pointer
|
|
|
|
CFLAGS-oldsemaphore.c += -fno-omit-frame-pointer
|
2002-11-04 09:36:53 +00:00
|
|
|
CFLAGS-pthread.c += -fno-omit-frame-pointer
|
2001-04-12 23:03:41 +00:00
|
|
|
CFLAGS-ptlongjmp.c += -fno-omit-frame-pointer
|
|
|
|
CFLAGS-semaphore.c += -fno-omit-frame-pointer
|
2002-11-04 09:36:53 +00:00
|
|
|
CFLAGS-sighandler.c += -fno-omit-frame-pointer
|
2001-02-02 06:54:15 +00:00
|
|
|
endif
|
2002-12-28 22:19:04 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),csu)
|
|
|
|
gen-as-const-headers += tcb-offsets.sym
|
|
|
|
endif
|