From: "Lan Yixun (dlan)" <dennis.yxun@xxxxxxxxx> gentoo build system expects unstripped elf image from the build system, seperate this, will allow us to better control the strip operation. Signed-off-by: Lan Yixun (dlan) <dennis.yxun@xxxxxxxxx> --- Makefile.rules | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Makefile.rules b/Makefile.rules index fa53459..0754a00 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -25,18 +25,16 @@ endif ifdef DEBUG CFLAGS ?= -g -Wall -DDEBUG LDFLAGS ?= -g -STRIP ?= : else +CFLAGS ?= -O2 -Wall +LDFLAGS ?= -s +endif + ifdef DONTSTRIP -CFLAGS ?= -O2 -g -LDFLAGS ?= -g STRIP ?= : else -CFLAGS ?= -O2 -Wall -LDFLAGS ?= -s STRIP ?= strip --strip-debug endif -endif CC ?= gcc CXX ?= g++ -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe autofs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html