Commit e62fe68a by Michael Meissner Committed by Michael Meissner

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

From-SVN: r138091
parent fcf73884
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
......
......@@ -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";
......
......@@ -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(())";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment