summaryrefslogtreecommitdiffstats
path: root/config/intel-flags
diff options
context:
space:
mode:
Diffstat (limited to 'config/intel-flags')
-rw-r--r--config/intel-flags4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/intel-flags b/config/intel-flags
index 88f72ae..2403c30 100644
--- a/config/intel-flags
+++ b/config/intel-flags
@@ -25,7 +25,7 @@
# cc_version: Version number: 8.0
#
if test X = "X$cc_flags_set"; then
- cc_version="`$CC $CFLAGS -V 2>&1 |grep 'Version'`"
+ cc_version="`$CC $CFLAGS $H5_CFLAGS -V 2>&1 |grep 'Version'`"
if test X != "X$cc_version"; then
cc_vendor=icc
cc_version=`echo $cc_version |sed 's/.*Version \([-a-z0-9\.\-]*\).*/\1/'`
@@ -67,7 +67,7 @@ if test "X-icc" = "X-$cc_vendor"; then
# General
# Default to C99 standard.
- CFLAGS="${CFLAGS:--std=c99 $arch}"
+ H5_CFLAGS="${H5_CFLAGS:--std=c99 $arch}"
# Production
# -Wl,-s to remove all symbols for smaller file