pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/bootstrap-mk-files
Module Name: pkgsrc
Committed By: joerg
Date: Thu Sep 8 14:28:12 UTC 2016
Modified Files:
pkgsrc/pkgtools/bootstrap-mk-files: Makefile
pkgsrc/pkgtools/bootstrap-mk-files/files: sys.mk
pkgsrc/pkgtools/bootstrap-mk-files/files/mods: AIX.sys.mk IRIX.sys.mk
Linux.sys.mk Minix.sys.mk NetBSD.sys.mk OpenBSD.sys.mk QNX.sys.mk
SunOS.sys.mk
Log Message:
bootstrap-mk-files-20160908:
Unless a platform explicitly sets DBG, default to -O2 on all
architectures. Most importantly, don't default to unoptimized builds
on AMD64.
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/pkgtools/bootstrap-mk-files/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/pkgtools/bootstrap-mk-files/files/sys.mk
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/pkgtools/bootstrap-mk-files/files/mods/AIX.sys.mk \
pkgsrc/pkgtools/bootstrap-mk-files/files/mods/QNX.sys.mk
cvs rdiff -u -r1.4 -r1.5 \
pkgsrc/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk
cvs rdiff -u -r1.6 -r1.7 \
pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk
cvs rdiff -u -r1.1.1.1 -r1.2 \
pkgsrc/pkgtools/bootstrap-mk-files/files/mods/NetBSD.sys.mk \
pkgsrc/pkgtools/bootstrap-mk-files/files/mods/OpenBSD.sys.mk
cvs rdiff -u -r1.7 -r1.8 \
pkgsrc/pkgtools/bootstrap-mk-files/files/mods/SunOS.sys.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/bootstrap-mk-files/Makefile
diff -u pkgsrc/pkgtools/bootstrap-mk-files/Makefile:1.51 pkgsrc/pkgtools/bootstrap-mk-files/Makefile:1.52
--- pkgsrc/pkgtools/bootstrap-mk-files/Makefile:1.51 Mon Apr 11 12:37:48 2016
+++ pkgsrc/pkgtools/bootstrap-mk-files/Makefile Thu Sep 8 14:28:12 2016
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.51 2016/04/11 12:37:48 jperkin Exp $
+# $NetBSD: Makefile,v 1.52 2016/09/08 14:28:12 joerg Exp $
-PKGNAME= bootstrap-mk-files-20160411
+PKGNAME= bootstrap-mk-files-20160908
CATEGORIES= pkgtools
CONFLICTS+= mk-files-[0-9]*
Index: pkgsrc/pkgtools/bootstrap-mk-files/files/sys.mk
diff -u pkgsrc/pkgtools/bootstrap-mk-files/files/sys.mk:1.1.1.1 pkgsrc/pkgtools/bootstrap-mk-files/files/sys.mk:1.2
--- pkgsrc/pkgtools/bootstrap-mk-files/files/sys.mk:1.1.1.1 Fri Jul 14 23:13:01 2006
+++ pkgsrc/pkgtools/bootstrap-mk-files/files/sys.mk Thu Sep 8 14:28:12 2016
@@ -1,4 +1,4 @@
-# $NetBSD: sys.mk,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $
+# $NetBSD: sys.mk,v 1.2 2016/09/08 14:28:12 joerg Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run Unix
@@ -24,20 +24,7 @@ COMPILE.S?= ${CC} ${AFLAGS} ${CPPFLAGS}
LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
CC?= cc
-.if ${MACHINE_ARCH} == "alpha" || \
- ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm26" || \
- ${MACHINE_ARCH} == "arm32" || \
- ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "m68k" || \
- ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
- ${MACHINE_ARCH} == "sparc" || \
- ${MACHINE_ARCH} == "vax"
-DBG?= -O2
-.elif ${MACHINE_ARCH} == "x86_64"
-DBG?=
-.else
-DBG?= -O
-.endif
+DBG?= -O2
CFLAGS?= ${DBG}
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
Index: pkgsrc/pkgtools/bootstrap-mk-files/files/mods/AIX.sys.mk
diff -u pkgsrc/pkgtools/bootstrap-mk-files/files/mods/AIX.sys.mk:1.1 pkgsrc/pkgtools/bootstrap-mk-files/files/mods/AIX.sys.mk:1.2
--- pkgsrc/pkgtools/bootstrap-mk-files/files/mods/AIX.sys.mk:1.1 Thu Jul 3 20:06:21 2008
+++ pkgsrc/pkgtools/bootstrap-mk-files/files/mods/AIX.sys.mk Thu Sep 8 14:28:12 2016
@@ -1,4 +1,4 @@
-# $NetBSD: AIX.sys.mk,v 1.1 2008/07/03 20:06:21 joerg Exp $
+# $NetBSD: AIX.sys.mk,v 1.2 2016/09/08 14:28:12 joerg Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run Unix
@@ -24,20 +24,7 @@ COMPILE.S?= ${CC} ${AFLAGS} ${CPPFLAGS}
LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
CC?= cc
-.if ${MACHINE_ARCH} == "alpha" || \
- ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm26" || \
- ${MACHINE_ARCH} == "arm32" || \
- ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "m68k" || \
- ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
- ${MACHINE_ARCH} == "sparc" || \
- ${MACHINE_ARCH} == "vax"
-DBG?= -O2
-.elif ${MACHINE_ARCH} == "x86_64"
-DBG?=
-.else
-DBG?= -O
-.endif
+DBG?= -O2
CFLAGS?= ${DBG}
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
Index: pkgsrc/pkgtools/bootstrap-mk-files/files/mods/QNX.sys.mk
diff -u pkgsrc/pkgtools/bootstrap-mk-files/files/mods/QNX.sys.mk:1.1 pkgsrc/pkgtools/bootstrap-mk-files/files/mods/QNX.sys.mk:1.2
--- pkgsrc/pkgtools/bootstrap-mk-files/files/mods/QNX.sys.mk:1.1 Sat Jul 4 07:19:08 2015
+++ pkgsrc/pkgtools/bootstrap-mk-files/files/mods/QNX.sys.mk Thu Sep 8 14:28:12 2016
@@ -1,4 +1,4 @@
-# $NetBSD: QNX.sys.mk,v 1.1 2015/07/04 07:19:08 ryoon Exp $
+# $NetBSD: QNX.sys.mk,v 1.2 2016/09/08 14:28:12 joerg Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run Unix
@@ -24,20 +24,7 @@ COMPILE.S?= ${CC} ${AFLAGS} ${CPPFLAGS}
LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
CC?= gcc
-.if ${MACHINE_ARCH} == "alpha" || \
- ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm26" || \
- ${MACHINE_ARCH} == "arm32" || \
- ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "m68k" || \
- ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
- ${MACHINE_ARCH} == "sparc" || \
- ${MACHINE_ARCH} == "vax"
-DBG?= -O2
-.elif ${MACHINE_ARCH} == "x86_64"
-DBG?=
-.else
-DBG?= -O
-.endif
+DBG?= -O2
CFLAGS?= ${DBG}
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
Index: pkgsrc/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk
diff -u pkgsrc/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk:1.4 pkgsrc/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk:1.5
--- pkgsrc/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk:1.4 Mon Aug 29 10:43:35 2011
+++ pkgsrc/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk Thu Sep 8 14:28:12 2016
@@ -1,4 +1,4 @@
-# $NetBSD: IRIX.sys.mk,v 1.4 2011/08/29 10:43:35 cheusov Exp $
+# $NetBSD: IRIX.sys.mk,v 1.5 2016/09/08 14:28:12 joerg Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run Unix
@@ -22,7 +22,7 @@ LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${L
CC?= cc
NOGCCERROR?= # defined
-DBG?= -O2
+DBG?= -O2
CFLAGS?= ${DBG}
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
Index: pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk
diff -u pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk:1.6 pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk:1.7
--- pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk:1.6 Mon Aug 31 09:03:19 2015
+++ pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk Thu Sep 8 14:28:12 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.sys.mk,v 1.6 2015/08/31 09:03:19 jperkin Exp $
+# $NetBSD: Linux.sys.mk,v 1.7 2016/09/08 14:28:12 joerg Exp $
# NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
@@ -25,20 +25,7 @@ COMPILE.S?= ${CC} ${AFLAGS} ${CPPFLAGS}
LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
CC?= cc
-.if ${MACHINE_ARCH} == "alpha" || \
- ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm26" || \
- ${MACHINE_ARCH} == "arm32" || \
- ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "m68k" || \
- ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
- ${MACHINE_ARCH} == "sparc" || \
- ${MACHINE_ARCH} == "vax"
-DBG?= -O2
-.elif ${MACHINE_ARCH} == "x86_64"
-DBG?=
-.else
-DBG?= -O
-.endif
+DBG?= -O2
CFLAGS?= ${DBG}
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
Index: pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk
diff -u pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk:1.3 pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk:1.4
--- pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk:1.3 Thu Jun 11 09:20:56 2015
+++ pkgsrc/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk Thu Sep 8 14:28:12 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Minix.sys.mk,v 1.3 2015/06/11 09:20:56 joerg Exp $
+# $NetBSD: Minix.sys.mk,v 1.4 2016/09/08 14:28:12 joerg Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run Unix.
@@ -21,7 +21,7 @@ COMPILE.S?= ${CC} ${AFLAGS} ${CPPFLAGS}
LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
CC?= gcc
-DBG?=
+DBG?= -O2
CFLAGS?= ${DBG}
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
Index: pkgsrc/pkgtools/bootstrap-mk-files/files/mods/NetBSD.sys.mk
diff -u pkgsrc/pkgtools/bootstrap-mk-files/files/mods/NetBSD.sys.mk:1.1.1.1 pkgsrc/pkgtools/bootstrap-mk-files/files/mods/NetBSD.sys.mk:1.2
--- pkgsrc/pkgtools/bootstrap-mk-files/files/mods/NetBSD.sys.mk:1.1.1.1 Fri Jul 14 23:13:01 2006
+++ pkgsrc/pkgtools/bootstrap-mk-files/files/mods/NetBSD.sys.mk Thu Sep 8 14:28:12 2016
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.sys.mk,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $
+# $NetBSD: NetBSD.sys.mk,v 1.2 2016/09/08 14:28:12 joerg Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run NetBSD.
@@ -23,20 +23,7 @@ COMPILE.S?= ${CC} ${AFLAGS} ${CPPFLAGS}
LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
CC?= cc
-.if ${MACHINE_ARCH} == "alpha" || \
- ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm26" || \
- ${MACHINE_ARCH} == "arm32" || \
- ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "m68k" || \
- ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
- ${MACHINE_ARCH} == "sparc" || \
- ${MACHINE_ARCH} == "vax"
-DBG?= -O2
-.elif ${MACHINE_ARCH} == "x86_64"
-DBG?=
-.else
-DBG?= -O
-.endif
+DBG?= -O2
CFLAGS?= ${DBG}
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
Index: pkgsrc/pkgtools/bootstrap-mk-files/files/mods/OpenBSD.sys.mk
diff -u pkgsrc/pkgtools/bootstrap-mk-files/files/mods/OpenBSD.sys.mk:1.1.1.1 pkgsrc/pkgtools/bootstrap-mk-files/files/mods/OpenBSD.sys.mk:1.2
--- pkgsrc/pkgtools/bootstrap-mk-files/files/mods/OpenBSD.sys.mk:1.1.1.1 Fri Jul 14 23:13:01 2006
+++ pkgsrc/pkgtools/bootstrap-mk-files/files/mods/OpenBSD.sys.mk Thu Sep 8 14:28:12 2016
@@ -1,4 +1,4 @@
-# $NetBSD: OpenBSD.sys.mk,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $
+# $NetBSD: OpenBSD.sys.mk,v 1.2 2016/09/08 14:28:12 joerg Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run OpenBSD.
@@ -23,15 +23,7 @@ COMPILE.S?= ${CC} ${AFLAGS} ${CPPFLAGS}
LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
CC?= cc
-.if ${MACHINE_ARCH} == "alpha" || \
- ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "m68k" || \
- ${MACHINE_ARCH} == "sparc" || \
- ${MACHINE_ARCH} == "vax"
-DBG?= -O2
-.else
-DBG?= -O
-.endif
+DBG?= -O2
CFLAGS?= ${DBG}
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
Index: pkgsrc/pkgtools/bootstrap-mk-files/files/mods/SunOS.sys.mk
diff -u pkgsrc/pkgtools/bootstrap-mk-files/files/mods/SunOS.sys.mk:1.7 pkgsrc/pkgtools/bootstrap-mk-files/files/mods/SunOS.sys.mk:1.8
--- pkgsrc/pkgtools/bootstrap-mk-files/files/mods/SunOS.sys.mk:1.7 Mon Aug 31 09:03:19 2015
+++ pkgsrc/pkgtools/bootstrap-mk-files/files/mods/SunOS.sys.mk Thu Sep 8 14:28:12 2016
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.sys.mk,v 1.7 2015/08/31 09:03:19 jperkin Exp $
+# $NetBSD: SunOS.sys.mk,v 1.8 2016/09/08 14:28:12 joerg Exp $
# NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
@@ -26,20 +26,7 @@ LINK.S?= ${CC} ${AFLAGS} ${CPPFLAGS} ${L
# Unless told otherwise, assume GNU CC
CC?= gcc
-.if ${MACHINE_ARCH} == "alpha" || \
- ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm26" || \
- ${MACHINE_ARCH} == "arm32" || \
- ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "m68k" || \
- ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
- ${MACHINE_ARCH} == "sparc" || \
- ${MACHINE_ARCH} == "vax"
-DBG?= -O2
-.elif ${MACHINE_ARCH} == "x86_64"
-DBG?=
-.else
-DBG?= -O
-.endif
+DBG?= -O2
CFLAGS?= ${DBG}
COMPILE.c?= ${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
Home |
Main Index |
Thread Index |
Old Index