[Commits] [wesnoth/wesnoth] a1e821: Fix release builds with Clang and SCons

GitHub noreply at github.com
Sat Feb 10 23:27:44 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a1e821fb953f401b5d7f23a7a5d4fa80cd367866
      https://github.com/wesnoth/wesnoth/commit/a1e821fb953f401b5d7f23a7a5d4fa80cd367866
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-02-11 (Sun, 11 Feb 2018)

  Changed paths:
    M SConstruct

  Log Message:
  -----------
  Fix release builds with Clang and SCons

The detection for when Clang is used was incorrect, resulting in GCC-only
parameter being passed to Clang.

In addition, at least on my system LTO+Clang caused linking errors even
with that fixed. As an emergency fix, I completely disabled LTO for Clang.





More information about the Commits mailing list