- remove NO_MODULES since they've been working for some time

- add -fno-omit-framepointer to CFLAGS if DDB is enabled so
  backtraces will still work when optimization is enabled.
  Stolen from Makefile.amd64.
This commit is contained in:
Peter Grehan 2005-02-03 06:28:17 +00:00
parent 042bbe552f
commit bd985cab34
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141170

View File

@ -19,9 +19,6 @@
# Which version of config(8) is required.
%VERSREQ= 600000
# Temporary stuff while we're still embryonic
NO_MODULES=
STD8X16FONT?= iso
.if !defined(S)
@ -35,6 +32,11 @@ S= ../../..
CFLAGS+= -msoft-float
DDB_ENABLED!= grep DDB opt_ddb.h || true
.if ${DDB_ENABLED} != ""
CFLAGS+= -fno-omit-frame-pointer
.endif
%BEFORE_DEPEND
%OBJS