[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778121: sks-ecc: ftbfs with GCC-5



tags 778121 +patch

Build failure is due to changing inline function semantics in C11 spec,
which is default now in gcc5. Work around by adding "-std=gnu89" as
gcc parameter.

--- sks-ecc-0.93.orig/Makefile
+++ sks-ecc-0.93/Makefile
@@ -18,6 +18,9 @@ CC=gcc
 #CFLAGS	+= -s
 CFLAGS	+=  -DVERSION='"$(VER)"'
 
+# Revert back to gnu89 standard for gcc 5
+CFLAGS += -std=gnu89
+
 #INST = /usr/local/bin
 #INST = $(HOME)/bin
 INST = $(DESTDIR)/usr/bin

-- 
Brett Johnson <brett@hp.com>


Reply to: