]> xenbits.xensource.com Git - unikraft/libs/musl.git/commitdiff
Config.uk: Select libcompiler-rt for libcomplex
authorAndrei Tatar <andrei@unikraft.io>
Tue, 8 Aug 2023 10:20:07 +0000 (12:20 +0200)
committerUnikraft <monkey@unikraft.io>
Wed, 9 Aug 2023 10:30:54 +0000 (10:30 +0000)
The cpow* functions provided by libcomplex make use of the `__mul?c3`
functions, implemented by libcompiler-rt, when building with either
Clang or GCC.
Therefore, this change makes musl unconditionally select libcompiler-rt
when building libcomplex.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #64

Config.uk

index cf028099e40c5ac03959a602b7296df19d5eeb07..dfb558440e9736393f0dfaa84179bde9c7180295 100644 (file)
--- a/Config.uk
+++ b/Config.uk
@@ -39,6 +39,7 @@ config LIBMUSL_AIO
 config LIBMUSL_COMPLEX
   bool "libcomplex"
   default n
+  select LIBCOMPILER_RT
 
 config LIBMUSL_CONF
   bool "libconf"