aboutsummaryrefslogtreecommitdiff
path: root/warning_flags.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-21 09:49:33 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-21 10:00:23 -0500
commit97c9ced70ac364f7067fc088b90184ab77c9ecd9 (patch)
treea10bd0808a8e395dd422bd8c5c9d1a7df14593b9 /warning_flags.in
parentef975432703754ca8ea10ac6db5ec171447bb345 (diff)
downloadtor-97c9ced70ac364f7067fc088b90184ab77c9ecd9.tar.gz
tor-97c9ced70ac364f7067fc088b90184ab77c9ecd9.zip
Try @warning_flags to avoid bloating verbose make logs
We now accumulate warning flags in a separate variable, "TOR_WARNING_FLAGS", and write it to a "warning_flags" file. Then we test whether the compiler will accept "@warning_flags": if so, we put "@warning_flags" in the CFLAGS; if not, we copy the contents of "$TOR_WARNING_FLAGS" into the CFLAGS. Closes ticket 28924.
Diffstat (limited to 'warning_flags.in')
-rw-r--r--warning_flags.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/warning_flags.in b/warning_flags.in
new file mode 100644
index 0000000000..e8ebe6e9a4
--- /dev/null
+++ b/warning_flags.in
@@ -0,0 +1 @@
+@TOR_WARNING_FLAGS@ \ No newline at end of file