Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytes
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
This commit is contained in:
@@ -125,6 +125,7 @@ check_ld=$(shell \
|
||||
# Pin CHECKED_CFLAGS with := so it's only evaluated once.
|
||||
CHECKED_CFLAGS:=$(call check_gcc,-funsigned-char,)
|
||||
CHECKED_CFLAGS+=$(call check_gcc,-mmax-stack-frame=256,)
|
||||
CHECKED_CFLAGS+=$(call check_gcc,-fno-builtin-strlen)
|
||||
|
||||
# Preemptively pin this too.
|
||||
PROG_CFLAGS:=
|
||||
|
Reference in New Issue
Block a user