true -> false, false -> true
This commit is contained in:
+2
-2
@@ -80,7 +80,7 @@ def check_path_collision(package, pkgList):
|
||||
# pinfo.path: /usr/share
|
||||
# path.path: /usr/share/doc
|
||||
if (path.path.endswith(ctx.const.ar_file_suffix) and ctx.get_option('create_static')) or \
|
||||
(path.path.endswith(ctx.const.debug_file_suffix) and not ctx.config.values.build.generatedebug):
|
||||
(path.path.endswith(ctx.const.debug_file_suffix) and ctx.config.values.build.generatedebug):
|
||||
# don't throw collision error for these files.
|
||||
# we'll handle this in gen_files_xml..
|
||||
continue
|
||||
@@ -719,7 +719,7 @@ class Builder:
|
||||
if obj:
|
||||
self.spec.packages.append(obj)
|
||||
|
||||
if not ctx.config.values.build.generatedebug:
|
||||
if ctx.config.values.build.generatedebug:
|
||||
obj = self.generate_debug_package_object()
|
||||
if obj:
|
||||
self.spec.packages.append(obj)
|
||||
|
||||
+2
-2
@@ -575,14 +575,14 @@ def strip_file(filepath, outpath):
|
||||
return True
|
||||
|
||||
elif "SB executable" in o:
|
||||
if not ctx.config.values.build.generatedebug:
|
||||
if ctx.config.values.build.generatedebug:
|
||||
check_dir(os.path.dirname(outpath))
|
||||
save_elf_debug(filepath, outpath)
|
||||
run_strip(filepath)
|
||||
return True
|
||||
|
||||
elif "SB shared object" in o:
|
||||
if not ctx.config.values.build.generatedebug:
|
||||
if ctx.config.values.build.generatedebug:
|
||||
check_dir(os.path.dirname(outpath))
|
||||
save_elf_debug(filepath, outpath)
|
||||
run_strip(filepath, "--strip-unneeded")
|
||||
|
||||
Reference in New Issue
Block a user