]> git.puffer.fish Git - matthieu/frr.git/commit
ospfclient: fix gcc -O0 build
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 14 Feb 2017 02:31:26 +0000 (03:31 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 14 Feb 2017 02:31:26 +0000 (03:31 +0100)
commit5c088023db734b9fc23f533050266ddb6bab11a5
treedc580e39456f3fba29c1b441e2022b14bf859f54
parent757abe78d84cba04c058f43b60d07dca554302c2
ospfclient: fix gcc -O0 build

the "static const" inside DECLARE_MTYPE still causes issues on gcc -O0
(re. gcc bug 69981).  Work around by disabling MTYPE declarations for
ospfclient.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
ospfclient/ospf_apiclient.c
ospfclient/ospfclient.c