[BACK]Return to patch-build_unix_Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / pforth / patches

File: [cvs.NetBSD.org] / pkgsrc / lang / pforth / patches / patch-build_unix_Makefile (download)

Revision 1.1, Fri Oct 12 16:25:21 2012 UTC (11 years, 6 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4

lang/pforth: replace -c89 with -std=c89

GCC 4.7 doesn't recognized -c89 and breaks immediate.  Use the -std
switch to fix the build.

$NetBSD: patch-build_unix_Makefile,v 1.1 2012/10/12 16:25:21 marino Exp $

GCC 4.7.2 breaks on the unrecognized -c89 switch.  Use -std= instead.

--- build/unix/Makefile.orig	2010-08-27 17:50:07.000000000 +0000
+++ build/unix/Makefile
@@ -24,7 +24,7 @@ PFORTHAPP    = pforth_standalone
 WIDTHOPT=
 
 FULL_WARNINGS =  \
-        -c89 \
+        -std=c89 \
         -fsigned-char \
         -fno-builtin \
         -fno-unroll-loops \