Fix PR 36907, breakage in building libobj with function specific changes

From-SVN: r138091
This commit is contained in:
Michael Meissner 2008-07-23 19:03:40 +00:00 committed by Michael Meissner
parent fcf73884fb
commit e62fe68a64
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2008-07-23 Michael Meissner <gnu@the-meissners.org>
PR 36907
* opth-gen.awk: Suppress function specific features when building
target libraries.
* optc-gen.awk: Ditto.
2008-07-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR 35058

View File

@ -225,7 +225,7 @@ for (i = 0; i < n_opts; i++) {
print "};"
print "";
print "#if !defined(GCC_DRIVER) && !defined(IN_LIBGCC2)"
print "#if !defined(GCC_DRIVER) && !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS)"
print "";
print "/* Save optimization variables into a structure. */"
print "void";

View File

@ -95,7 +95,7 @@ print ""
# Also, order the structure so that pointer fields occur first, then int
# fields, and then char fields to provide the best packing.
print "#if !defined(GCC_DRIVER) && !defined(IN_LIBGCC2)"
print "#if !defined(GCC_DRIVER) && !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS)"
print ""
print "/* Structure to save/restore optimization and target specific options. */";
print "struct cl_optimization GTY(())";