Fix error whenparses the value of 5E-324 with libc++

Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
This commit is contained in:
fangyunzhong
2023-12-13 14:53:26 +08:00
parent f50e937527
commit bdb6f33e89
2 changed files with 19 additions and 1 deletions
+2 -1
View File
@@ -47,7 +47,7 @@ def apply_patch(patch_file, target_dir):
def do_patch(args, target_dir):
patch_file = []
patch_file = [ "Fix error whenparses the value of 5E-324 with libc++.patch" ]
for patch in patch_file:
file_path = os.path.join(args.source_file, patch)
@@ -62,6 +62,7 @@ def main():
tar_file_path = os.path.join(args.source_file, "jsoncpp-1.9.5.tar.gz")
target_dir = os.path.join(args.gen_dir, "jsoncpp-1.9.5")
untar_file(tar_file_path, target_dir, args)
do_patch(args, target_dir)
return 0