commit | aadfde875ddcf324b38799297979e72f43f801c4 | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <samitolvanen@google.com> | Tue Feb 13 13:48:10 2018 -0800 |
committer | Sami Tolvanen <samitolvanen@google.com> | Wed Feb 28 15:09:58 2018 -0800 |
tree | 8c73c4b1680f17ad097620d7ea5d091323183431 | |
parent | f437c20fc6af599bda4675834a79ae802db2614c [diff] |
xen/efi: don't use -fshort-wchar Specifying -fshort-wchar for just one object breaks LTO with the following error message: ld.gold: fatal error: Failed to link module drivers/xen/efi.o: linking module flags 'wchar_size': IDs have conflicting values Since efi.c doesn't actually use wchar_t, turn off the flag when LTO is enabled. Bug: 62093296 Bug: 67506682 Change-Id: I509c18677353add8e1ad04f99f6e42bdab7814e7 Signed-off-by: Sami Tolvanen <samitolvanen@google.com>