From 9a0974bcf805fdff68450549433d9fe9db56bb95 Mon Sep 17 00:00:00 2001 From: Mary Haley Date: Wed, 27 Feb 2019 15:49:23 -0700 Subject: [PATCH] Fixed yMakefile to build BuiltInFuncs.c with optimization turned off on MacOS systems. This is due to issue with clang. --- ni/src/ncl/yMakefile | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/ni/src/ncl/yMakefile b/ni/src/ncl/yMakefile index a85b8bf5ef..3d21be0b0e 100644 --- a/ni/src/ncl/yMakefile +++ b/ni/src/ncl/yMakefile @@ -663,3 +663,45 @@ MakeNcl: MakeNcl.csh Makefile -e 's+SED_INCPATH+$(INCPATH)+' \ MakeNcl +# +# $Id$ +# +########################################################################### +# Copyright (C) 1993 # +# University Corporation for Atmospheric Research # +# All Rights Reserved # +# # +########################################################################### +# +# File: yMakefile for NCL +# +# Author: Ethan Alpert +# National Center for Atmospheric Research +# POB 3000, Boulder, Colorado +# +# Date: $Date$ +# +# Description: +# +# Usage: +# +# Environment: +# +# Files: +# +# +# Options: + +MYBIN = ncl +#ifdef JIRA1530 +MYXQFBIN = ncl.xq.fix +#endif +MYLIB = libncl +MYLIB_API = libnclapi +YACC = $(NYACC) + +#if defined(Darwin) +BuiltInFuncs.o: BuiltInFuncs.c + $(CC) -c BuiltInFuncs.c $(ALLDEFINES) $(CCOPTIONS) +#endif +