lib/pkgforge/components/cflags.rb in pkgforge-0.24.0 vs lib/pkgforge/components/cflags.rb in pkgforge-0.24.1

- old
+ new

@@ -54,10 +54,10 @@ strictoverflow: %w[-fno-strict-overflow], underlinking: %w[-Wl,-z,defs], warnings: %w[-Wall] }.freeze - Contract Maybe[Array[String]] => nil + Contract Maybe[ArrayOf[String]] => nil def harden(list = []) harden_opts = ALL_HARDEN_OPTS.reject { |k, _| list.include? k.to_s } @forge.cflags += harden_opts.values.flatten nil end