3c348baeb9
- Fix build with gcc5 (open-lldp-gcc5.patch) * do not use -Werror * Use -fgnu89-inline as the code relies on the old semantics OBS-URL: https://build.opensuse.org/request/show/292539 OBS-URL: https://build.opensuse.org/package/show/network:fcoe/open-lldp?expand=0&rev=18
12 lines
509 B
Diff
12 lines
509 B
Diff
--- open-lldp-0.9.46.orig/Makefile.am
|
|
+++ open-lldp-0.9.46/Makefile.am
|
|
@@ -16,7 +16,7 @@ ACLOCAL_AMFLAGS = -I m4
|
|
parse_cli.o: CFLAGS+=-U_FORTIFY_SOURCE -Wno-error
|
|
|
|
## system requires a shared libconfig
|
|
-AM_CFLAGS = -Wall -Werror -Wextra -Wformat=2 $(LIBCONFIG_CFLAGS) $(LIBNL_CFLAGS)
|
|
+AM_CFLAGS = -Wall -fgnu89-inline -Wextra -Wformat=2 $(LIBCONFIG_CFLAGS) $(LIBNL_CFLAGS)
|
|
AM_LDFLAGS = $(LIBCONFIG_LIBS) $(LIBNL_LIBS)
|
|
|
|
## header files to be installed, for programs using the client interface to lldpad
|