forked from OSchip/llvm-project
Speculative build fix for GCC 5.3.0
It was failing with llvm/lib/MC/XCOFFObjectWriter.cpp:168:53: error: array must be initialized with a brace-enclosed initializer std::array<Section *const, 2> Sections{&Text, &BSS}; ^
This commit is contained in:
parent
0c798aa448
commit
5da6d4ec16
|
@ -165,7 +165,7 @@ class XCOFFObjectWriter : public MCObjectWriter {
|
|||
|
||||
// All the XCOFF sections, in the order they will appear in the section header
|
||||
// table.
|
||||
std::array<Section *const, 2> Sections{&Text, &BSS};
|
||||
std::array<Section *const, 2> Sections = {&Text, &BSS};
|
||||
|
||||
CsectGroup &getCsectGroup(const MCSectionXCOFF *MCSec);
|
||||
|
||||
|
|
Loading…
Reference in New Issue