build system: don't use u flag for ar

Newer ar seem to be built with --enable-dterministic-archives. In that
mode u has no effect, and ar emits a warning. Since u is not really a
speed gain nowadays let's just not use it at all.
This commit is contained in:
Moritz Bunkus 2015-08-28 17:46:41 +02:00
parent 345cb31286
commit 6e7d212a45

View File

@ -12,7 +12,7 @@ class Library < Target
def create_specific
file "#{@target}.a" => @objects do |t|
FileUtils.rm_f t.name
runq " AR #{t.name}", "#{c(:AR)} rcu #{t.name} #{@objects.join(" ")}"
runq " AR #{t.name}", "#{c(:AR)} rc #{t.name} #{@objects.join(" ")}"
runq " RANLIB #{t.name}", "#{c(:RANLIB)} #{t.name}"
end