diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1993-11-07 04:41:11 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1993-11-07 04:41:11 +0000 |
commit | 70176e63d637214b1af4fc0a8b3d7d0409713bfe (patch) | |
tree | 0d14732977de178f77330c84454c9924cec5ffa2 /sys | |
parent | 727c7fbdc9777830e2e52e8758bf79f5ccbceb2a (diff) | |
download | src-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')
-rw-r--r-- | sys/conf/Makefile.i386 | 6 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 6 | ||||
-rw-r--r-- | sys/i386/conf/Makefile.i386 | 6 |
3 files changed, 12 insertions, 6 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 3b649d435809..e026cdf81ac4 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -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} $< 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} $< diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386 index 3b649d435809..e026cdf81ac4 100644 --- a/sys/i386/conf/Makefile.i386 +++ b/sys/i386/conf/Makefile.i386 @@ -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} $< |