Respect CFLAGS and don't hard-code -O2; inherit CC from <sys.mk>

This commit is contained in:
Kris Kennaway 2001-04-30 00:14:38 +00:00
parent c8f9094249
commit e69be5bfe2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42052

View File

@ -23,7 +23,7 @@
#
#CC = gcc
! #CFLAGS = -O2 -Wall -ansi -fstrength-reduce -finline-functions
CC = cc
! CC = cc
! CFLAGS = -O
#LFLAGS = # only sometimes needed; see below for examples
@ -32,8 +32,8 @@
# For non-gcc compilers, simply set CFLAGS = -O (to start with)
#
#CC = gcc
! CFLAGS = -O2 -Wall -ansi -fstrength-reduce -finline-functions
CC = cc
! CFLAGS += -Wall -ansi -fstrength-reduce -finline-functions
! #CC = cc
! #CFLAGS = -O
#LFLAGS = # only sometimes needed; see below for examples