diff --git a/gcc/Makefile.in b/gcc/Makefile.in index e90545fff7d7c5a46c44046f6ff3203b8990f83e..5e0c878df53c9cccf4d28e8637a8011f684179b7 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -229,12 +229,15 @@ LIBGCC2 = libgcc2.a # -g1 causes output of debug info only for file-scope entities. # we use this here because that should be enough, and also # so that -g1 will be tested. -LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -g1 +LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) -g1 # Additional options to use when compiling libgcc2.a. # Some targets override this to -Iinclude LIBGCC2_INCLUDES = +# Additional target-dependent options for compiling libgcc2.a. +TARGET_LIBGCC2_CFLAGS = + # Things which must be built before building libgcc2.a. # Some targets override this to stmp-int-hdrs LIBGCC2_DEPS =