aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.powerpc
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1993-11-07 04:41:11 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1993-11-07 04:41:11 +0000
commit70176e63d637214b1af4fc0a8b3d7d0409713bfe (patch)
tree0d14732977de178f77330c84454c9924cec5ffa2 /sys/conf/Makefile.powerpc
parent727c7fbdc9777830e2e52e8758bf79f5ccbceb2a (diff)
downloadsrc-70176e63d637214b1af4fc0a8b3d7d0409713bfe.tar.gz
src-70176e63d637214b1af4fc0a8b3d7d0409713bfe.zip
Added CWARNFLAGS and COPTFLAGS defines to Makefile so that we can easily
test various warning and optimization compiler flags without modifying the Makefile. (From my patch set.)
Notes
Notes: svn path=/head/; revision=712
Diffstat (limited to 'sys/conf/Makefile.powerpc')
-rw-r--r--sys/conf/Makefile.powerpc6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index 3b649d435809..e026cdf81ac4 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.9 1993/10/23 06:46:24 nate Exp $
+# $Id: Makefile.i386,v 1.10 1993/10/23 08:28:17 nate Exp $
#
# Makefile for FreeBSD
#
@@ -30,10 +30,12 @@ DBSYM= /usr/sbin/dbsym
S= ../..
I386= ../../i386
+CWARNFLAGS=
+COPTFLAGS=-O
INCLUDES= -I. -I$S -I$S/sys
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386 -DNPX
ASFLAGS=
-CFLAGS= -O ${DEBUG} ${COPTS}
+CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
LOAD_ADDRESS?= FE000000
NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $<