From 8642e4ecf47b3b0ca0b545061e6f1cfc6237775f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 29 Oct 2025 23:27:32 +0100 Subject: Build for arch with LINKFLAGS -Werror to catch linker warnings. --- cscript | 1 + 1 file changed, 1 insertion(+) (limited to 'cscript') diff --git a/cscript b/cscript index dbc9d5efd..bb5f5b9f2 100644 --- a/cscript +++ b/cscript @@ -700,6 +700,7 @@ def build(target, options, for_package): '-Wp,-D_FORTIFY_SOURCE=3 -Wformat -fstack-clash-protection ' '-fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' '-Wp,-D_GLIBCXX_ASSERTIONS -g -flto=auto') + target.append_with_space('LINKFLAGS', '-Werror') target.command('./waf configure --prefix=%s %s' % (target.directory, configure_options(target, options, for_package))) target.command('./waf') target.command('./waf install') -- cgit v1.2.3