]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: no need to unset CFLAGS in tests requiring 'gcc' anymore
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 28 Dec 2011 10:40:20 +0000 (11:40 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 23 Jan 2012 08:53:59 +0000 (09:53 +0100)
* tests/ccnoco.test: Since this test have "gcc" in $required,
there is no need to manually nullify the CFLAGS variable, since
now `tests/defs' should automatically re-define that to a value
appropriate for gcc.
* tests/ccnoco3.test: Likewise.

tests/ccnoco.test
tests/ccnoco3.test

index bcd18fcda936bb44bb421ef7f7e632a87bd10882..780ffe626cc40f1a7aa61818b65c3dbf2735ab3d 100755 (executable)
@@ -59,10 +59,6 @@ END
 
 chmod +x Mycomp
 
-# Ignore user CFLAGS.
-CFLAGS=
-export CFLAGS
-
 # Make sure the compiler doesn't understand `-c -o'
 CC=`pwd`/Mycomp
 export CC
index 2a32f6b1f275a3f4cd2400a26f88e577c7b517a6..82fb320d55a33e354b5ad4e2c876f91bc41866e6 100755 (executable)
@@ -59,10 +59,6 @@ END
 
 chmod +x Mycomp
 
-# Ignore user CFLAGS.
-CFLAGS=
-export CFLAGS
-
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE --copy --add-missing