mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
- 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:
parent
042bbe552f
commit
bd985cab34
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141170
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user