From 09de2454ef5b686fd9a8f60fe75af31c48e3f6fd Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 25 Jan 2013 19:49:20 -0300 Subject: [PATCH] ubb-la/Makefile (CFLAGS): use more specific -O9 -fno-tree-cselim Third time lucky, I hope. -fno-tree-cselim is much more specific than disabling all optimization and results in a considerably less severe performance reduction (about 30-40% of -O0). --- ubb-la/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubb-la/Makefile b/ubb-la/Makefile index e593996..0cf0589 100644 --- a/ubb-la/Makefile +++ b/ubb-la/Makefile @@ -11,7 +11,7 @@ # CC = mipsel-openwrt-linux-gcc -CFLAGS = -g -Wall -O0 -I../libubb/include +CFLAGS = -g -Wall -O9 -fno-tree-cselim -I../libubb/include LDFLAGS = LDLIBS = -L../libubb -lubb -lm -lrt