fix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub',
but for get_compiler_info, line must start with 'set'.
This commit is contained in:
parent
41c9e29df5
commit
c4d88f87b7
2 changed files with 2 additions and 2 deletions
|
@ -68,5 +68,5 @@ set compiler_info [join {hpacc __HP_aCC} -]
|
||||||
#if defined (__xlc__)
|
#if defined (__xlc__)
|
||||||
/* IBM'x xlc compiler. NOTE: __xlc__ expands to a double quoted string of four
|
/* IBM'x xlc compiler. NOTE: __xlc__ expands to a double quoted string of four
|
||||||
numbers seperated by '.'s: currently "7.0.0.0" */
|
numbers seperated by '.'s: currently "7.0.0.0" */
|
||||||
regsub -all {\.} [join {xlc __xlc__} -] - compiler_info
|
set need_a_set [regsub -all {\.} [join {xlc __xlc__} -] - compiler_info]
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -56,5 +56,5 @@ set compiler_info [join {hpacc __HP_aCC} -]
|
||||||
#if defined (__xlc__)
|
#if defined (__xlc__)
|
||||||
/* IBM'x xlc compiler. NOTE: __xlc__ expands to a double quoted string of four
|
/* IBM'x xlc compiler. NOTE: __xlc__ expands to a double quoted string of four
|
||||||
numbers seperated by '.'s: currently "7.0.0.0" */
|
numbers seperated by '.'s: currently "7.0.0.0" */
|
||||||
regsub -all {\.} [join {xlc __xlc__} -] - compiler_info
|
set need_a_set [regsub -all {\.} [join {xlc __xlc__} -] - compiler_info]
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue