tags 778056 + patch
thanks

Here's a fix for the GCC 5 build issue.  It adds 'export CFLAGS =
-std=gnu89' to the rules file to use the GNU89 inline semantics.

I tested it with both gcc-5.0 and gcc-4.9.

Note: we still get a lot of compiler warnings, but that is not a gcc-5 issue.

-- 
Andrew Patterson
Hewlett-Packard


--- pads-1.2/debian/rules.orig	2015-07-08 21:07:34.072665005 +0000
+++ pads-1.2/debian/rules	2015-07-08 21:08:22.601182891 +0000
@@ -10,7 +10,7 @@
 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

Reply via email to