From ea30c83d92044d5291f6e669ecdd2dfc8dbfd1d8 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Mon, 19 Aug 2019 22:30:12 +1000 Subject: [PATCH] linux-clang: -std=c89 rather than -ansi --- config/Makefile.linux-clang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Makefile.linux-clang b/config/Makefile.linux-clang index 2992b89..75a43f8 100644 --- a/config/Makefile.linux-clang +++ b/config/Makefile.linux-clang @@ -24,7 +24,7 @@ WARN = -Wall -W POPT = -O2 CFLAGS.EXTRA += -fPIC CFLAGS.EXTRA += -Wcast-qual -CFLAGS.EXTRA += -ansi -pedantic +CFLAGS.EXTRA += -std=c89 -pedantic CFLAGS.EXTRA += -fno-stack-protector BIN.SUFFIX = LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)