Build farm patch: generic.fns
jojowil at hvcc.edu
Wed May 7 20:06:27 GMT 2008
I would like to suggest the following patche to sanitize my AIX world. :-) :-)
--- generic.fns.orig 2008-05-07 06:49:30.000000000 -0400
+++ generic.fns 2008-05-07 06:53:55.000000000 -0400
@@ -6,17 +6,19 @@
for compiler in gcc cc icc; do
# arrgh, "which" gives no err code on solaris
if [ -x "$path" ]; then
if $compiler -v 2>&1 | grep gcc.version > /dev/null; then
- CFLAGS="$CFLAGS -Wall"
- export CFLAGS
+ CFLAGS="$ENVCFLAGS -Wall"
+ export CFLAGS
if [ $compiler = gcc -o $isgcc = 0 ]; then
test_tree lorikeet-heimdal . $compiler
This fixes CFLAGS still being set with -Wall which breaks the cc build run after the gcc one is complete.
More information about the samba-technical