mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 11:01:48 +00:00
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>
This commit is contained in:
parent
757abe78d8
commit
5c088023db
@ -36,6 +36,9 @@
|
||||
#include "log.h"
|
||||
#include "memory.h"
|
||||
|
||||
/* work around gcc bug 69981, disable MTYPEs in libospf */
|
||||
#define _QUAGGA_OSPF_MEMORY_H
|
||||
|
||||
#include "ospfd/ospfd.h"
|
||||
#include "ospfd/ospf_interface.h"
|
||||
#include "ospfd/ospf_asbr.h"
|
||||
|
@ -32,6 +32,9 @@
|
||||
#include "privs.h"
|
||||
#include "log.h"
|
||||
|
||||
/* work around gcc bug 69981, disable MTYPEs in libospf */
|
||||
#define _QUAGGA_OSPF_MEMORY_H
|
||||
|
||||
#include "ospfd/ospfd.h"
|
||||
#include "ospfd/ospf_asbr.h"
|
||||
#include "ospfd/ospf_lsa.h"
|
||||
|
Loading…
Reference in New Issue
Block a user