Skip to content

Commit b24af27

Browse files
zaniebbrandtbucher
andauthored
Rename --with-cflags to --cflags
Co-authored-by: Brandt Bucher <[email protected]>
1 parent 1633f56 commit b24af27

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Tools/jit/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@
4040
"-v", "--verbose", action="store_true", help="echo commands as they are run"
4141
)
4242
parser.add_argument(
43-
"--with-cflags", help="additional flags to pass to the compiler", default=""
43+
"--cflags", help="additional flags to pass to the compiler", default=""
4444
)
4545
args = parser.parse_args()
4646
for target in args.target:
4747
target.debug = args.debug
4848
target.force = args.force
4949
target.verbose = args.verbose
50-
target.cflags = args.with_cflags
50+
target.cflags = args.cflags
5151
target.pyconfig_dir = args.pyconfig_dir
5252
target.build(
5353
comment=comment,

configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2777,7 +2777,7 @@ AS_VAR_IF([jit_flags],
27772777
[],
27782778
[AS_VAR_APPEND([CFLAGS_NODIST], [" $jit_flags"])
27792779
AS_VAR_SET([REGEN_JIT_COMMAND],
2780-
["\$(PYTHON_FOR_REGEN) \$(srcdir)/Tools/jit/build.py ${ARCH_TRIPLES:-$host} --output-dir . --pyconfig-dir . --with-cflags=\"\$(CFLAGS_JIT)\""])
2780+
["\$(PYTHON_FOR_REGEN) \$(srcdir)/Tools/jit/build.py ${ARCH_TRIPLES:-$host} --output-dir . --pyconfig-dir . --cflags=\"\$(CFLAGS_JIT)\""])
27812781
AS_VAR_SET([JIT_STENCILS_H], ["jit_stencils.h"])
27822782
AS_VAR_IF([Py_DEBUG],
27832783
[true],

0 commit comments

Comments
 (0)