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.
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.