[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile build problem with gcc 4.6.0
From: |
Douglas Mencken |
Subject: |
Re: guile build problem with gcc 4.6.0 |
Date: |
Sun, 20 Mar 2011 20:11:30 +0100 |
> What libc are you using? On glibc, these macros shouldn’t get
redefined.
My standard C library for this setup is uClibc.
> Basically, you shouldn’t expect -Werror to work on non-GNU systems.
Is it possible to switch off -Werror for non-glibc systems, for
example, on autoconf/automake/configure stage?
I'm currently using the following sed commands before running autoreconf:
sed -i 's/CFLAGS="${CFLAGS} -Werror"/##CFLAGS="${CFLAGS} -Werror"/'
./configure.ac
sed -i 's/POTENTIAL_GCC_CFLAGS="${POTENTIAL_GCC_CFLAGS}
-Werror"/##POTENTIAL_GCC_CFLAGS="${POTENTIAL_GCC_CFLAGS} -Werror"/'
./configure.ac