zeromq: Fix invocation when building with clang. (#4395)
This commit is contained in:
parent
1b7c29cdfe
commit
115fec3346
@ -41,4 +41,8 @@ class Zeromq(AutotoolsPackage):
|
|||||||
depends_on("libsodium@:1.0.3", when='@:4.1.2')
|
depends_on("libsodium@:1.0.3", when='@:4.1.2')
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
return ['--with-libsodium']
|
config_args = ['--with-libsodium']
|
||||||
|
if 'clang' in self.compiler.cc:
|
||||||
|
config_args.append("CFLAGS=-Wno-gnu")
|
||||||
|
config_args.append("CXXFLAGS=-Wno-gnu")
|
||||||
|
return config_args
|
||||||
|
Loading…
Reference in New Issue
Block a user