From 5e1c6644bbd1a696fb02ee26a2ad8c359e81e57f Mon Sep 17 00:00:00 2001 From: Hannu Vuolasaho Date: Sat, 21 Feb 2015 02:37:25 +0200 Subject: [PATCH] Makefile fix for Linux compilation Simple fix to compile with GCC 4.9.2 on Arch Linux --- build/unix/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/unix/Makefile b/build/unix/Makefile index c3e2156..c1df0d0 100644 --- a/build/unix/Makefile +++ b/build/unix/Makefile @@ -24,7 +24,7 @@ PFORTHAPP = pforth_standalone WIDTHOPT= FULL_WARNINGS = \ - -c89 \ + --std=c89 \ -fsigned-char \ -fno-builtin \ -fno-unroll-loops \ @@ -59,7 +59,7 @@ PFSOURCE = $(PFBASESOURCE) $(IO_SOURCE) VPATH = .:$(CSRCDIR):$(CSRCDIR)/posix:$(CSRCDIR)/stdio:$(CSRCDIR)/win32_console:$(CSRCDIR)/win32 XCFLAGS = $(CCOPTS) -XCPPFLAGS = -DPF_SUPPORT_FP +XCPPFLAGS = -DPF_SUPPORT_FP -D_DEFAULT_SOURCE XLDFLAGS = $(WIDTHOPT) CPPFLAGS = -I. $(XCPPFLAGS) -- 2.20.1