Revision b1598b58 configure

View differences:

configure
2149 2149

  
2150 2150
# add some flags for Intel C Compiler
2151 2151
if enabled icc; then
2152
  # Just warnings, no remarks
2153
  check_cflags -w1
2154
  # -wd: Disable following warnings
2155
  # 144, 167, 556: -Wno-pointer-sign
2156
  # 10006: ignoring unknown option -fno-signed-zeros
2157
  # 10156: ignoring option '-W'; no argument required
2158
  check_cflags -wd144,167,556,10006,10156
2159
  # 11030: Warning unknown option --as-needed
2160
  # 10156: ignoring option '-export'; no argument required
2161
  check_ldflags -wd10156,11030
2162
  # Allow to compile with optimizations
2163
  check_ldflags -march=$cpu
2152
    # Just warnings, no remarks
2153
    check_cflags -w1
2154
    # -wd: Disable following warnings
2155
    # 144, 167, 556: -Wno-pointer-sign
2156
    # 10006: ignoring unknown option -fno-signed-zeros
2157
    # 10156: ignoring option '-W'; no argument required
2158
    check_cflags -wd144,167,556,10006,10156
2159
    # 11030: Warning unknown option --as-needed
2160
    # 10156: ignoring option '-export'; no argument required
2161
    check_ldflags -wd10156,11030
2162
    # Allow to compile with optimizations
2163
    check_ldflags -march=$cpu
2164 2164
fi
2165 2165

  
2166 2166
# PIC flags for shared library objects where they are needed

Also available in: Unified diff