BUILD: Makefile: fix linkage for Haiku.
authorDavid Carlier <devnexen@gmail.com>
Sat, 19 Jun 2021 14:42:43 +0000 (14:42 +0000)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Jun 2021 06:57:42 +0000 (08:57 +0200)
At runtime, the haiku's loader displays `could not resolve symbol: __start_i_STG_ALLOC`
thus using linker setting fallback.

Makefile

index b25c9ad..4b06767 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -343,7 +343,7 @@ endif
 # Haiku
 ifeq ($(TARGET),haiku)
   TARGET_LDFLAGS = -lnetwork
-  set_target_defaults = $(call default_opts,USE_POLL USE_TPROXY)
+  set_target_defaults = $(call default_opts,USE_POLL USE_TPROXY USE_OBSOLETE_LINKER)
 endif
 
 # For linux >= 2.6.28 and glibc