[DEV] correct flags
This commit is contained in:
parent
64de814a8b
commit
c8d8d55a59
@ -22,7 +22,7 @@ def get_maintainer():
|
|||||||
return "authors.txt"
|
return "authors.txt"
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
return "authors.txt"
|
return "version.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def create(target, module_name):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
my_module = module.Module(__file__, module_name, get_type())
|
||||||
@ -78,7 +78,7 @@ def create(target, module_name):
|
|||||||
'zeus/mineType.h',
|
'zeus/mineType.h',
|
||||||
])
|
])
|
||||||
if target.config["compilator"] == "clang":
|
if target.config["compilator"] == "clang":
|
||||||
my_module.add_export_flag('c++', "-Wno-unsequenced")
|
my_module.add_flag('c++', "-Wno-unsequenced", export=True)
|
||||||
# build in C++ mode
|
# build in C++ mode
|
||||||
my_module.compile_version("c++", 2011)
|
my_module.compile_version("c++", 2011)
|
||||||
return my_module
|
return my_module
|
||||||
|
Loading…
x
Reference in New Issue
Block a user