From d1cc2634279e784ba9fa9c024be4b972a4d995e2 Mon Sep 17 00:00:00 2001 From: Stefan Kalkowski Date: Wed, 11 Apr 2012 14:30:21 +0200 Subject: [PATCH] Fix Fiasco.OC's build-system (fix #177) Apply the patch posted by Christian Helmuth to the l4-hackers mailing list when doing `make prepare` in base-foc. --- base-foc/patches/gendep.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 base-foc/patches/gendep.patch diff --git a/base-foc/patches/gendep.patch b/base-foc/patches/gendep.patch new file mode 100644 index 0000000000..d50c040173 --- /dev/null +++ b/base-foc/patches/gendep.patch @@ -0,0 +1,13 @@ +Index: l4/tool/gendep/Makefile +=================================================================== +--- l4/tool/gendep/Makefile (revision 38) ++++ l4/tool/gendep/Makefile (working copy) +@@ -23,7 +23,7 @@ + ifneq ($(filter linux freebsd,$(HOST_SYSTEM)),) + LIB := $(LIB32) $(LIB64) + LIBDL-linux := -ldl +-cmd_link = $(HOST_CC) -m$(2) -shared -Wl,-soname,$(1) $(LIBDL-$(HOST_SYSTEM)) -o $(1) ++cmd_link = $(HOST_CC) -m$(2) -shared -Wl,--no-as-needed -Wl,-soname,$(1) $(LIBDL-$(HOST_SYSTEM)) -o $(1) + else + ifeq ($(HOST_SYSTEM),darwin) + LIB := $(OBJ_DIR)/libgendep.so