diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-10-29 23:27:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-10-30 00:25:42 +0100 |
| commit | 8642e4ecf47b3b0ca0b545061e6f1cfc6237775f (patch) | |
| tree | 37347ee3e9e5980050e9222a43eaf2ac72945168 /cscript | |
| parent | 0c989ac8f4f7241a3a8cbd3c04c8c3e7a1de33eb (diff) | |
Build for arch with LINKFLAGS -Werror to catch linker warnings.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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') |
