File:  [DVB] / dietlibc / sparc64 / Makefile.add
Revision 1.5: download - view: text, annotated - select for diffs
Mon Jun 6 12:12:16 2016 UTC (8 years ago) by leitner
Branches: MAIN
CVS tags: HEAD
  sparc64 fixes (Christian Seiler)

CFLAGS+=-m64 -Os
#XXX unclear whether this is needed here but very probable
CFLAGS+=-DWANT_STRTOD_WITHOUT_LONG_DOUBLE
VPATH:=sparc64:syscalls.s:$(VPATH)
LIBOBJ+=$(patsubst %,$(OBJDIR)/%,__time.o)

ifneq ($(DEBUG),)
# Compiling without at least -O1 will cause __rt_sigreturn_stub
# to contain instructions that manipulate the stack pointer,
# (because the compiler doesn't realize w/o optimization that
# the function doesn't touch the stack). The stack pointer must
# remain untouched before entering the syscall rt_sigreturn().
# Therefore, force -O1 even in debug mode for this object.
$(OBJDIR)/sigaction.o: CFLAGS+=-O1
endif

LinuxTV legacy CVS <linuxtv.org/cvs>