simon-r / intel-parallel-studio-xe

Intel compiler for ArchLinux
https://aur.archlinux.org/packages/intel-parallel-studio-xe/
11 stars 7 forks source link

Added libtool, staticlibs to options array. #2

Closed ido closed 11 years ago

ido commented 11 years ago

Recently, an update to /etc/makepkg.conf changed the options defaults (^OPTIONS=...) to have !libtool !staticlibs. This causes libimf, libdecimal, libsvml, libipgo, etc. default libraries that ICC/IFC link into programs built by them to be stripped from the pkg by makepkg. This causes a linker error when trying to compile anything (without -nodefaultlibs), even "helloworld.c".

This commit fixes that by specifying staticlibs and libtool in the options array.

simon-r commented 11 years ago

Accepted. But note that the static libs are explicitly removed in mkl and ipp !