Replace -ansi with -std=c89 for better compatibility

This commit is contained in:
Max Bruckner
2016-11-15 20:03:11 +07:00
parent a22da43578
commit 706636fb20
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ INSTALL_LIBRARY_PATH = $(DESTDIR)$(PREFIX)/$(LIBRARY_PATH)
INSTALL ?= cp -a
R_CFLAGS = -fPIC -ansi -pedantic -Wall -Werror -Wstrict-prototypes -Wwrite-strings $(CFLAGS)
R_CFLAGS = -fPIC -std=c89 -pedantic -Wall -Werror -Wstrict-prototypes -Wwrite-strings $(CFLAGS)
uname := $(shell sh -c 'uname -s 2>/dev/null || echo false')