Added --disable-werror to the GDB makefiles.

Change-Id: I652f1b08439ff7bb0b7b5b21459edeff31017e5a
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
This commit is contained in:
David Schulz
2012-04-23 14:48:53 +02:00
committed by Daniel Molkentin
parent 77b78a77f8
commit 863c6b4aa7
3 changed files with 5 additions and 5 deletions

View File

@@ -72,7 +72,7 @@ ${gdbtargets}: ${targetdir}/gdb-%: ${staging}/gdb-${version}/configure ${staging
export PATH="${staging}/bin/:$$PATH" && \
export LDFLAGS="-pthread -lm" && \
cd ${staging}/gdb-${version}-$* && \
${staging}/gdb-${version}/configure --disable-nls --target=$* --with-python=${staging} --with-libexpat-prefix=${staging} && \
${staging}/gdb-${version}/configure --disable-nls --target=$* --disable-werror --with-python=${staging} --with-libexpat-prefix=${staging} && \
sleep 3 && \
${MAKE} MAKEFLAGS+=-j1 && \
strip gdb/gdb && \
@@ -84,7 +84,7 @@ ${targetdir}/gdb: ${staging}/gdb-${version}/configure ${staging}/lib/libpython${
export PATH="${staging}/bin/:$$PATH" && \
export LDFLAGS="-pthread -lm" && \
cd ${staging}/gdb-${version}-${arch} && \
${staging}/gdb-${version}/configure --disable-nls --with-python=${staging} --with-libexpat-prefix=${staging} && \
${staging}/gdb-${version}/configure --disable-nls --disable-werror --with-python=${staging} --with-libexpat-prefix=${staging} && \
${MAKE} MAKEFLAGS+=-j1 && \
strip gdb/gdb && \
cp -T gdb/gdb ${targetdir}/gdb

View File

@@ -82,7 +82,7 @@ ${gdbtargets}: ${targetdir}/gdb-%: ${staging}/lib/libexpat.a ${staging}/lib/libi
LDFLAGS="L${pydir} -lpthread -ldl -lutil -lpython27" && \
CFLAGS="-I${pydir}/include" && \
cd ${staging}/gdb-${version}-$* && \
${staging}/gdb-${version}/configure --target=$* --disable-nls \
${staging}/gdb-${version}/configure --target=$* --disable-nls --disable-werror\
--with-libiconv-prefix=${staging} \
--with-expat --with-libexpat-prefix=${staging} \
--with-python=${pydir} &&\

View File

@@ -68,7 +68,7 @@ ${gdbtargets}: ${targetdir}/gdb-%: ${staging}/gdb-${version}/configure ${staging
export PYTHONHOME=${staging} && \
export PATH="${staging}/bin/:$$PATH" && \
cd ${staging}/gdb-${version}-$* && \
${staging}/gdb-${version}/configure --disable-nls --target=$* --with-python=${staging} --with-libexpat-prefix=${staging} && \
${staging}/gdb-${version}/configure --disable-nls --disable-werror --target=$* --with-python=${staging} --with-libexpat-prefix=${staging} && \
${MAKE} MAKEFLAGS+=-j1 && \
strip gdb/gdb && \
mv gdb/gdb ${targetdir}/gdb-$*
@@ -78,7 +78,7 @@ ${targetdir}/gdb: ${staging}/gdb-${version}/configure ${staging}/lib/libpython${
export PYTHONHOME=${staging} && \
export PATH="${staging}/bin/:$$PATH" && \
cd ${staging}/gdb-${version}-${arch} && \
${staging}/gdb-${version}/configure --disable-nls --with-python=${staging} --with-libexpat-prefix=${staging} --disable-werror && \
${staging}/gdb-${version}/configure --disable-nls --disable-werror --with-python=${staging} --with-libexpat-prefix=${staging} && \
${MAKE} MAKEFLAGS+=-j1 && \
strip gdb/gdb && \
mv gdb/gdb ${targetdir}/gdb