diff --git a/apps/Makefile b/apps/Makefile
index 4973fded1e5f1116c2ce0a233a7617eca2bd237f..b2269e6272cd89c9689e8cca5ee2329831c98cc8 100755
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -89,7 +89,7 @@ app_sql_odbc.so: app_sql_odbc.o
 	$(CC) $(SOLINK) -o $@ $< -lodbc
 
 look:	look.c
-	gcc -pipe -O6 -g look.c -o look -lncurses
+	$(CC) -pipe -O6 -g look.c -o look -lncurses
 
 ifneq ($(wildcard .depend),)
 include .depend
diff --git a/codecs/ilbc/Makefile b/codecs/ilbc/Makefile
index a9d07c3b7d180d321042e13eb69776c1d5e843fb..edb3e63e17fdf58f2fb9d0b2475af3a43f205e9e 100755
--- a/codecs/ilbc/Makefile
+++ b/codecs/ilbc/Makefile
@@ -1,5 +1,5 @@
 ARCH=$(PROC)
-CFLAGS+=-Wall -Werror -fPIC -O3 -funroll-loops -fomit-frame-pointer
+CFLAGS+=-Wall -fPIC -O3 -funroll-loops -fomit-frame-pointer
 LIB=libilbc.a
 
 OBJS= anaFilter.o iCBSearch.o packing.o \