akhilravidas / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

missing CFLAGS for include-server #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. What version of distcc are you using (e.g. "2.7.1")?
svn revision 618

2. What platform are you running on (e.g. "Red Hat 8.0", "HP-UX 11.11")?
Gentoo, x86-64, gcc-4.1.2, glibc-2.6.1, python-2.5.2

3. What were you trying to do (e.g. "install distcc", "build Mozilla")?
$ svn co distcc; ./autogen.sh; ./configure; make

4. What went wrong?
(snip)
building 'include_server.distcc_pump_c_extensions' extension
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG
-DHAVE_CONFIG_H -D_GNU_SOURCE -DSYSCONFDIR=/usr/local/etc
-DPKGDATADIR=/usr/local/share/distcc -Isrc -I./src -I./lzo -fPIC
-D_GNU_SOURCE=1 -Isrc -I./src -I./lzo -I/usr/include/python2.5 -c
-D_GNU_SOURCE=1 -Isrc -I./src -I./lzo -I/usr/include/python2.5 -c
/tmp/distcc-read-only/src/clirpc.c -o
./_include_server/tmp/distcc-read-only/src/clirpc.o -W -Wall -Wimplicit
-Wuninitialized -Wshadow -Wpointer-arith -Wcast-align -Waggregate-return
-Wstrict-prototypes -Wnested-externs -Werror -Wp,-U_FORTIFY_SOURCE
cc1: warnings being treated as errors
cc1: warning: -Wuninitialized is not supported without -O
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
make: *** [include-server] Error 1

attached a patch to fix.

Original issue reported on code.google.com by mat...@gmail.com on 27 Oct 2008 at 3:43

Attachments:

GoogleCodeExporter commented 9 years ago
Looks good to me.  Applied.  
Fixed in svn revision 622.

Original comment by fergus.h...@gmail.com on 27 Oct 2008 at 10:12