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

master
leitner 20 years ago
parent 20c994bf59
commit 8853a10fc3

@ -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

Loading…
Cancel
Save