mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 21:47:10 +00:00
build: move variable closer to where it is used
for better readability. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
This commit is contained in:
@@ -19,8 +19,6 @@ import tempfile
|
||||
import textwrap
|
||||
from distutils.spawn import find_executable
|
||||
|
||||
curdir = os.getcwd()
|
||||
|
||||
outdir = 'build'
|
||||
|
||||
tempfile.tempdir = f"{outdir}/tmp"
|
||||
@@ -1670,6 +1668,7 @@ forced_ldflags += dynamic_linker_option()
|
||||
|
||||
user_ldflags = forced_ldflags + ' ' + args.user_ldflags
|
||||
|
||||
curdir = os.getcwd()
|
||||
user_cflags = args.user_cflags + f" -ffile-prefix-map={curdir}=."
|
||||
|
||||
if args.target != '':
|
||||
|
||||
Reference in New Issue
Block a user