Skip to content

Commit

Permalink
Config.uk: Select libcompiler-rt for libcomplex
Browse files Browse the repository at this point in the history
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
  • Loading branch information
andreittr authored and unikraft-bot committed Aug 9, 2023
1 parent 895a789 commit fe55488
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Config.uk
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ config LIBMUSL_AIO
config LIBMUSL_COMPLEX
bool "libcomplex"
default n
select LIBCOMPILER_RT

config LIBMUSL_CONF
bool "libconf"
Expand Down

0 comments on commit fe55488

Please sign in to comment.