From 8853a10fc3511848a50b0ed3ae5c5c2d5b1bc5a9 Mon Sep 17 00:00:00 2001 From: leitner Date: Fri, 8 Apr 2005 19:43:48 +0000 Subject: [PATCH] with diet libc, now install into proper platform specific lib dir (using diet -L, available in latest CVS version) --- GNUmakefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index cbafc83..0940d87 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -35,10 +35,15 @@ DIET:=$(strip $(diet_path)) endif ifneq ($(DIET),) +DIETLIBPATH=$(shell $(DIET) -L $(CC)) +ifneq ($(wildcard $(DIETLIBPATH)/*ibc.a),) +LIBDIR=$(DIETLIBPATH) +endif ifneq ($(DEBUG),1) DIET+=-Os endif endif + # to build without diet libc support, use $ make DIET= # see http://www.fefe.de/dietlibc/ for details about the diet libc