Respect --ignore-compiler-warnings when building the launcher
This commit is contained in:
parent
64f1211cf8
commit
d99e243f57
3
setup.py
3
setup.py
@ -789,7 +789,8 @@ def safe_makedirs(path: str) -> None:
|
|||||||
|
|
||||||
|
|
||||||
def build_launcher(args: Options, launcher_dir: str = '.', bundle_type: str = 'source') -> None:
|
def build_launcher(args: Options, launcher_dir: str = '.', bundle_type: str = 'source') -> None:
|
||||||
cflags = '-Wall -Werror -fpie'.split()
|
werror = '' if args.ignore_compiler_warnings else '-pedantic-errors -Werror'
|
||||||
|
cflags = f'-Wall {werror} -fpie'.split()
|
||||||
if args.build_universal_binary:
|
if args.build_universal_binary:
|
||||||
cflags += '-arch x86_64 -arch arm64'.split()
|
cflags += '-arch x86_64 -arch arm64'.split()
|
||||||
cppflags = []
|
cppflags = []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user