# -*- shell-script -*- # # This file is part of the HDF5 build script. It is processed shortly # after configure starts and defines, among other things, flags for # the various compile modes. #---------------------------------------------------------------------------- # Compiler flags. The CPPFLAGS values should not include package debug # flags like `-DH5G_DEBUG' since these are added with the # `--enable-debug' switch of configure. # We use gcc unless something else is specified. CC=${CC:-gcc} case $CC in *gcc*) CFLAGS="$CFLAGS -ansi" DEBUG_CFLAGS="-g -fverbose-asm" DEBUG_CPPFLAGS="-DH5F_LOW_DFLT=H5F_LOW_SEC2" PROD_CFLAGS="-O3 -finline-functions" PROD_CPPFLAGS= PROFILE_CFLAGS=-pg PROFILE_CPPFLAGS= ;; *) CFLAGS="-erroff=%none" DEBUG_CFLAGS=-g DEBUG_CPPFLAGS="-DH5F_LOW_DFLT=H5F_LOW_SEC2" PROD_CFLAGS=-xO2 PROD_CPPFLAGS= PROFILE_CFLAGS=-xpg PROFILE_CPPFLAGS= ;; esac #---------------------------------------------------------------------------- # Values for overriding configuration tests when cross compiling. # This includes compiling on some machines where the serial front end # compiles for a parallel back end. # Set this to `yes' or `no' depending on whether the target is big # endian or little endian. #ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}