|
|
@ -1545,6 +1545,10 @@ class GnuLikeCompiler(abc.ABC): |
|
|
|
# GNU ld and LLVM lld |
|
|
|
# GNU ld and LLVM lld |
|
|
|
return ['-Wl,--allow-shlib-undefined'] |
|
|
|
return ['-Wl,--allow-shlib-undefined'] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_gui_app_args(self, value): |
|
|
|
|
|
|
|
if self.compiler_type.is_windows_compiler and value: |
|
|
|
|
|
|
|
return ['-mwindows'] |
|
|
|
|
|
|
|
return [] |
|
|
|
|
|
|
|
|
|
|
|
class GnuCompiler(GnuLikeCompiler): |
|
|
|
class GnuCompiler(GnuLikeCompiler): |
|
|
|
""" |
|
|
|
""" |
|
|
@ -1583,11 +1587,6 @@ class GnuCompiler(GnuLikeCompiler): |
|
|
|
def get_pch_suffix(self): |
|
|
|
def get_pch_suffix(self): |
|
|
|
return 'gch' |
|
|
|
return 'gch' |
|
|
|
|
|
|
|
|
|
|
|
def get_gui_app_args(self, value): |
|
|
|
|
|
|
|
if self.compiler_type.is_windows_compiler and value: |
|
|
|
|
|
|
|
return ['-mwindows'] |
|
|
|
|
|
|
|
return [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def openmp_flags(self): |
|
|
|
def openmp_flags(self): |
|
|
|
return ['-fopenmp'] |
|
|
|
return ['-fopenmp'] |
|
|
|
|
|
|
|
|
|
|
|