summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/files.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/files.c b/build/files.c
index 8affb9a80..b1420c7de 100644
--- a/build/files.c
+++ b/build/files.c
@@ -2002,6 +2002,9 @@ rpmRC processSourceFiles(rpmSpec spec, rpmBuildPkgFlags pkgFlags)
rpmlog(RPMLOG_ERR, _("Bad file: %s: %s\n"),
diskPath, strerror(errno));
fl.processingFailed = 1;
+ } else {
+ if (S_ISREG(flp->fl_mode) && flp->fl_size >= UINT32_MAX)
+ fl.largeFiles = 1;
}
if (fl.def.ar.ar_fmodestr) {