tags 778008 + patch
thanks

Here is a fix for the gcc-5 build issue for 778008 mirrormagic.

The attached patch, adding -std=gnu89 to CFLAGS in src/Makefile, is a
work around to instruct gcc-5 to use gnu-89 semantics for inline
function declarations, so the package is able to build with no erros.

Thanks,
Mak.
--- src/Makefile.orig	2015-07-07 16:20:20.980108142 +0000
+++ src/Makefile	2015-07-07 16:11:48.764097541 +0000
@@ -112,7 +112,7 @@
 OPTIONS = -O3 -Wall
 endif
 
-CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(CONFIG)
+CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(CONFIG) -std=gnu89
 LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm
 
 

Reply via email to