pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nmh: Delete (no more needed) `-O1' hack to CFLAGS



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Thu Aug 24 11:07:32 2017 +0200
Changeset:	0250b930cf6c6159fe59e3ea3e63a0ee8676d086

Modified Files:
	nmh/Makefile

Log Message:
nmh: Delete (no more needed) `-O1' hack to CFLAGS

mh_strcasecmp() was completely replaced by strcasecmp() on 24 Mar 2013, and
hence present in 1.6. Forcing `-O1' for gcc is no longer needed.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0250b930cf6c6159fe59e3ea3e63a0ee8676d086

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 nmh/Makefile | 4 ----
 1 file changed, 4 deletions(-)

diffs:
diff --git a/nmh/Makefile b/nmh/Makefile
index 26ad2e82e5..3475b9646b 100644
--- a/nmh/Makefile
+++ b/nmh/Makefile
@@ -22,10 +22,6 @@ USE_TOOLS+=		lex
 # Locks supported by `mail.local' are ".lock" and flock(2).
 
 .include "../../mk/bsd.prefs.mk"
-# Avoids SEGV in nmh's private version of strcasecmp() under gcc4
-.if !empty(PKGSRC_COMPILER:Mgcc*)
-CFLAGS+=		-O1
-.endif
 
 .include "options.mk"
 


Home | Main Index | Thread Index | Old Index