tags 778167 + patch

Here's a fix for the GCC 5 build issue.  I added -std=gnu89 to CFLAGS
to use the GNU89 inline semantics.  Upstream may prefer to move to C99
instead, please see section "Different semantics for inline functions"
at https://gcc.gnu.org/gcc-5/porting_to.html for more background.

-- Betty Dall Linux for HP Helion OpenStack, Hewlett-Packard
--- weplab-0.1.5/debian/rules.orig	2015-07-01 09:21:34.475625723 +0000
+++ weplab-0.1.5/debian/rules	2015-07-01 09:19:13.235627642 +0000
@@ -8,7 +8,7 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -std=gnu89
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else

Reply via email to