Remove -Werror in order not to treat warnings as errors (fix gcc-4 errors), closes...
[openwrt/svn-archive/archive.git] / openwrt / package / ustl / files / Common.mk
index dea71e1158bcc83454e49392dceea6698dfe31db..88e62329d9fbeb7a257bc04b895cb8ea866f2abc 100644 (file)
@@ -9,7 +9,7 @@ LD              = $(CROSS)gcc
 AR             = $(CROSS)ar
 RANLIB         = $(CROSS)ranlib
 DOXYGEN                = echo
-INSTALL                = /usr/bin/install
+INSTALL                = install
 RM             = rm -f
 LN             = ln -sf
 
@@ -26,7 +26,7 @@ INSTALLLIB    = ${INSTALL} -p -m 644
 INSTALLEXE     = ${INSTALL} -p -m 755
 INSTALLDATA    = ${INSTALL} -p -m 644
 
-CWARNOPTS      = -Werror -Wall -W -Wpointer-arith -Wno-cast-align \
+CWARNOPTS      = -Wall -W -Wpointer-arith -Wno-cast-align \
                -Wcast-qual -Wwrite-strings -Wredundant-decls 
 CXXWARNOPTS    = ${CWARNOPTS} -Wconversion -Wsign-promo -Wsynth -Woverloaded-virtual
 PROCESSOR_OPTS =