PR target/47098 OBSD_LIB_SPEC on i686-openbsd3 missing
commit2aa84d43ba19ff173cbf2f63ebd2c398d6fb6c6f
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Wed, 22 Apr 2015 08:41:13 +0000 (22 10:41 +0200)
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Wed, 22 Apr 2015 08:41:13 +0000 (22 10:41 +0200)
treec610e3830ee8a4988788958f50ca31e7793983db
parenta42014a3f99ece712dd6cd941c0c533ed93151e3
PR target/47098 OBSD_LIB_SPEC on i686-openbsd3 missing

config-list.mk for i686-*-openbsd3.0 failed with:

gcc/config/openbsd.h:143:18: error: ‘OBSD_LIB_SPEC’ was not declared in this scope
 #define LIB_SPEC OBSD_LIB_SPEC
                  ^
gcc/gcc.c:879:31: note:
in expansion of macro ‘LIB_SPEC’
 static const char *lib_spec = LIB_SPEC;
                               ^
make[2]: *** [gcc.o] Error 1

i.e. openbsd-oldgas.h is only used on
i?86-*-openbsd2.*|i?86-*openbsd3.[0123] so add the OBSD_LIB_SPEC there

From-SVN: r222315
gcc/ChangeLog
gcc/config/openbsd-oldgas.h