[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/lang/pforth
* On 2012-10-12 at 17:25 BST, John Marino wrote:
> Module Name: pkgsrc
> Committed By: marino
> Date: Fri Oct 12 16:25:21 UTC 2012
> Modified Files:
> pkgsrc/lang/pforth: distinfo
> Added Files:
> pkgsrc/lang/pforth/patches: patch-build_unix_Makefile
> Log Message:
> 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.
A better place to fix this would be in mk/wrapper/transform-gcc, that
way it fixes the problem for every package.
I note that -std= was supported from GCC 3.0.4, 2.95.x used the option
-fstd=, if there are still active platforms which use gcc 2.95 then
it'd be useful to enhance the wrapper script to support per-version
transformations (which may be useful in the future anyway).
Jonathan Perkin - Joyent, Inc. - www.joyent.com
Main Index |
Thread Index |