aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/c.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-10-10 11:42:35 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-11-15 18:42:25 -0800
commit3ab9620180b1f6506a7a3486044db236afbfafba (patch)
tree49a6ad9af634bbf801a09ffedb77c852aeea46dd /mesonbuild/compilers/c.py
parentf46adb44bf7eeeb15ddaed81f73433b5e7a3bff6 (diff)
downloadmeson-3ab9620180b1f6506a7a3486044db236afbfafba.zip
meson-3ab9620180b1f6506a7a3486044db236afbfafba.tar.gz
meson-3ab9620180b1f6506a7a3486044db236afbfafba.tar.bz2
compilers: Add ICC setting for get_allow_undefined_link_args
Diffstat (limited to 'mesonbuild/compilers/c.py')
-rw-r--r--mesonbuild/compilers/c.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py
index 240d424..393354d 100644
--- a/mesonbuild/compilers/c.py
+++ b/mesonbuild/compilers/c.py
@@ -174,6 +174,8 @@ class CCompiler(Compiler):
elif isinstance(self, VisualStudioCCompiler):
# link.exe
return ['/FORCE:UNRESOLVED']
+ elif self.id == 'intel':
+ return ['-Wl,--allow-shlib-undefined']
# FIXME: implement other linkers
return []