testsuite: with SunStudio12.x f77, don't fail on system symbols
commit8d285ed54b9b9b307e8fe1a25ba9e624eab93b8d
authorGary V. Vaughan <gary@gnu.org>
Mon, 23 Dec 2013 05:58:31 +0000 (23 18:58 +1300)
committerGary V. Vaughan <gary@gnu.org>
Wed, 1 Jan 2014 23:06:30 +0000 (2 12:06 +1300)
tree10d39af85f4b810b76eaa79f39d070381d9e58ee
parent7f99bfd86c97038b73a1e5d1445ef31c6ec59983
testsuite: with SunStudio12.x f77, don't fail on system symbols

Modern SunStudio f77 is just a wrapper for f90, which
explains why current master fails these test groups with:

 Undefined first referenced
  symbol       in file
 __f90_slw_ch      .libs/foof2.o
 __f90_sslw        .libs/foof2.o
 __f90_eslw        .libs/foof2.o
 ld: fatal: symbol referencing errors. No output written to
.libs/libfoo2.so.0.0.0

So we allow some undefined symbols in the libraries, which are
resolved by the $(FLIBS) added to the final binaries in the tests.
This seems like the simpler, and less error inducing solution to
me (compared to adding $(FLIBS) to every library LDFLAGS line).
* tests/f77demo.at (libfoo_la_LDFLAGS, libfoo2_la_LDFLAGS)
(libfoo3_la_LDFLAGS, libmix_la_LDFLAGS): Remove -no-undefined
flag.
* tests/fcdemo.at: Likewise.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
tests/f77demo.at
tests/fcdemo.at