From 3f1d638c801ca0d3c7580ffb3737f0a6820d2ae6 Mon Sep 17 00:00:00 2001 From: Virgile Prevosto <virgile.prevosto@m4x.org> Date: Wed, 19 Apr 2023 10:02:46 +0200 Subject: [PATCH] [machdep] allow launching make_machdep without arg --- share/machdeps/make_machdep/make_machdep.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/machdeps/make_machdep/make_machdep.py b/share/machdeps/make_machdep/make_machdep.py index 8c8953f3be4..6eb4fa52bb1 100755 --- a/share/machdeps/make_machdep/make_machdep.py +++ b/share/machdeps/make_machdep/make_machdep.py @@ -99,6 +99,9 @@ args, other_args = parser.parse_known_args() if not args.compiler_flags: args.compiler_flags = ["-c"] +if not args.cpp_arch_flags: + args.cpp_arch_flags = [] + def make_schema(): schema_filename = my_path.parent / "machdep-schema.yaml" -- GitLab