forked from pool/open-lldp
dcb88bfe10
- Disable -Werror (boo#1128299) and remove gcc9-fix-werror.patch. OBS-URL: https://build.opensuse.org/request/show/701791 OBS-URL: https://build.opensuse.org/package/show/network:fcoe/open-lldp?expand=0&rev=31
25 lines
868 B
Diff
25 lines
868 B
Diff
diff --git a/Makefile.am b/Makefile.am
|
|
index 292c0fd..b20574c 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -19,7 +19,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 -Wextra -Wformat=2 $(LIBCONFIG_CFLAGS) $(LIBNL_CFLAGS)
|
|
AM_LDFLAGS = $(LIBCONFIG_LIBS) $(LIBNL_LIBS) -lrt
|
|
|
|
## header files to be installed, for programs using the client interface to lldpad
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 0667446..e49867e 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1,5 +1,5 @@
|
|
AC_INIT([lldpad], [1.0.1], [lldp-devel@open-lldp.org])
|
|
-AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
|
+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
|
|
|
|
m4_pattern_allow([AM_PROG_AR])
|
|
AM_PROG_AR
|