with diet libc, now install into proper platform specific lib dir (using diet -L, available in latest CVS version)

This commit is contained in:
leitner 2005-04-08 19:43:48 +00:00
parent 20c994bf59
commit 8853a10fc3

View File

@ -35,10 +35,15 @@ DIET:=$(strip $(diet_path))
endif endif
ifneq ($(DIET),) ifneq ($(DIET),)
DIETLIBPATH=$(shell $(DIET) -L $(CC))
ifneq ($(wildcard $(DIETLIBPATH)/*ibc.a),)
LIBDIR=$(DIETLIBPATH)
endif
ifneq ($(DEBUG),1) ifneq ($(DEBUG),1)
DIET+=-Os DIET+=-Os
endif endif
endif endif
# to build without diet libc support, use $ make DIET= # to build without diet libc support, use $ make DIET=
# see http://www.fefe.de/dietlibc/ for details about the diet libc # see http://www.fefe.de/dietlibc/ for details about the diet libc