mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
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.
This commit is contained in:
parent
de2723c794
commit
d1cc263427
13
base-foc/patches/gendep.patch
Normal file
13
base-foc/patches/gendep.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user