diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/irix6.x | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/config/irix6.x b/config/irix6.x index 2221b3f..2481e1e 100644 --- a/config/irix6.x +++ b/config/irix6.x @@ -8,8 +8,12 @@ # Use SGI supplied C compiler by default. There is no ranlib if test "X-" = "X-$CC"; then - CC='cc' - CC_BASENAME=cc + CC='cc' + CC_BASENAME=cc + # use c99 compiler if available. + if `c99 -version >/dev/null 2>&1` ; then + CC='c99' + fi fi RANLIB=: @@ -61,13 +65,10 @@ case "X-$CC_BASENAME" in # 85: duplicate definition preemption (from -lnsl) # 134: duplicate weak definition preemption (from -lnsl) CFLAGS="$CFLAGS -Wl,-woff,47,-woff,84,-woff,85,-woff,134" - - # Always turn on full warnings - CFLAGS="$CFLAGS -fullwarn" fi # Extra debugging flags - DEBUG_CFLAGS="-g" + DEBUG_CFLAGS="-g -fullwarn" DEBUG_CPPFLAGS= # Extra production flags |