Skip to content

Commit

Permalink
Merge pull request #9 from PCMDI/mac_fix
Browse files Browse the repository at this point in the history
ok got the mac to build again
  • Loading branch information
doutriaux1 committed Oct 10, 2014
2 parents 2e99cb8 + 3ad3161 commit a72f73f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Src/cmor_axes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ int cmor_axis(int *axis_id, char *name,char *units, int length,void *coord_vals,
if (refaxis.axis=='X') {
/* mallocing space for wrapp issues on longitude */
cmor_axes[cmor_naxes].wrapping=malloc(length*sizeof(int));
for (i==0;i<length;i++) cmor_axes[cmor_naxes].wrapping[i]=0;
for (i=0;i<length;i++) cmor_axes[cmor_naxes].wrapping[i]=0;
}
if ( cmor_axes[cmor_naxes].values == NULL ) {
snprintf(msg,CMOR_MAX_STRING,"cannot allocate memory for %i double elts for axis %s (table: %s)",length,cmor_axes[cmor_naxes].id,cmor_tables[CMOR_TABLE].table_id);
Expand Down
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -2133,8 +2133,8 @@ case ${target_os} in
FTAG="-Wl,-rpath="
;;
darwin*)
RTAG="-R"
FTAG="-Wl,-rpath="
RTAG="-Wl,-rpath,"
FTAG="-Wl,-rpath,"
;;
esac

Expand Down

0 comments on commit a72f73f

Please sign in to comment.