diff options
Diffstat (limited to 'build/c/intel/configure')
-rwxr-xr-x | build/c/intel/configure | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build/c/intel/configure b/build/c/intel/configure index ad11890..6da0f3b 100755 --- a/build/c/intel/configure +++ b/build/c/intel/configure @@ -7,6 +7,8 @@ # $1 out file # $2 optimize (y/n) +# $3 c_extra_options +# $4 c_ld_extra_options # # bld_root - build root # project_name - project name @@ -27,7 +29,11 @@ $echo "'/opt/intel_cc_80/bin/icc'." $echo c_intel=`read_path --command icc` -c_intel_libraries=`$c_intel -print-search-dirs | sed -e 's/libraries: =//p' -e d` + +# Pass c_extra_options and c_ld_extra_options since those can affect the +# search paths (e.g., -m32) and target. +# +c_intel_libraries=`$c_intel $3 $4 -print-search-dirs | sed -e 's/libraries: =//p' -e d` # Intel optimizes by default. # |