[Privoxy-commits] [privoxy] branch master updated: windows/MYconfigure: Have gcc diagnostics in color
User Git
git at git.privoxy.org
Wed Aug 9 08:42:11 CEST 2023
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
The following commit(s) were added to refs/heads/master by this push:
new ba0f8604 windows/MYconfigure: Have gcc diagnostics in color
ba0f8604 is described below
commit ba0f8604adf6a9ef25c01ae181638754c49aa969
Author: Lee <ler762 at users.sourceforge.net>
AuthorDate: Wed Aug 9 02:35:05 2023 -0400
windows/MYconfigure: Have gcc diagnostics in color
It's nice having gcc warnings in color even if I run a script that does
'make 2>&1 | tee log.make'
---
windows/MYconfigure | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/windows/MYconfigure b/windows/MYconfigure
index b34c95f1..00658ed2 100755
--- a/windows/MYconfigure
+++ b/windows/MYconfigure
@@ -39,6 +39,11 @@ export LDFLAGS=""
# start with initially empty flags
+CFLAGS="${CFLAGS} -fdiagnostics-color=always"
+# Have gcc diagnostics be in color even if stderr is not going to a terminal.
+# It's nice having warnings in color even if I run a script that does
+# 'make 2>&1 | tee log.make'
+
CFLAGS="${CFLAGS} -fstack-protector-strong -D_FORTIFY_SOURCE=2"
LDFLAGS="${LDFLAGS} -fstack-protector-strong"
# -fstack-protector-strong: enable stack checking.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list