Skip to content
  • Kunshan Wang's avatar
    Force --no-as-needed linker flag on Linux. · 4f355d7f
    Kunshan Wang authored
    Some Linux distributions (notably Ubuntu) sets the --as-needed linker
    flag by default, which makes the linker sensitive of the order of the
    libraries the executable file depends on in the command line. Other
    distributions (such as ArchLinux) do not set this flag by default. For
    safety, this flag is explicitly turned off in both the Makefile and the
    refimpl2-config script on Linux.
    4f355d7f