Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make Define CC=gcc -O and add -DMACHINE=...



details:   https://anonhg.NetBSD.org/src/rev/9da0242dbbc6
branches:  trunk
changeset: 471500:9da0242dbbc6
user:      gwr <gwr%NetBSD.org@localhost>
date:      Sat Apr 03 04:39:10 1999 +0000

description:
Define CC=gcc -O and add -DMACHINE=...

diffstat:

 usr.bin/make/Makefile.boot |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r aa9bebf9bec4 -r 9da0242dbbc6 usr.bin/make/Makefile.boot
--- a/usr.bin/make/Makefile.boot        Sat Apr 03 04:37:47 1999 +0000
+++ b/usr.bin/make/Makefile.boot        Sat Apr 03 04:39:10 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.boot,v 1.9 1998/05/21 17:19:46 tv Exp $
+#      $NetBSD: Makefile.boot,v 1.10 1999/04/03 04:39:10 gwr Exp $
 #
 # a very simple makefile...
 #
@@ -6,13 +6,17 @@
 #
 # modify MACHINE and MACHINE_ARCH as appropriate for your target architecture
 #
+CC=gcc -O
 
 .c.o:
        ${CC} ${CFLAGS} -c $< -o $@
 
 MACHINE=sun
 MACHINE_ARCH=sparc
-CFLAGS= -I. -DTARGET_MACHINE=\"${MACHINE}\" -DTARGET_MACHINE_ARCH=\"${MACHINE_ARCH}\" \
+CFLAGS= -I.\
+       -DTARGET_MACHINE=\"${MACHINE}\" \
+       -DTARGET_MACHINE_ARCH=\"${MACHINE_ARCH}\" \
+       -DMACHINE=\"sparc\" \
        -DMAKE_BOOTSTRAP
 LIBS=
 



Home | Main Index | Thread Index | Old Index