From: Bob Dubner Date: Fri, 21 Mar 2025 21:22:31 +0000 (-0400) Subject: cobol: Make CXXFLAGS_FOR_TARGET available to the libgcobol build. X-Git-Tag: basepoints/gcc-16~874 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=438e82b8aa3cf14e08c70ea8a7f669621a897eae;p=thirdparty%2Fgcc.git cobol: Make CXXFLAGS_FOR_TARGET available to the libgcobol build. By setting "CXXFLAGS_FOR_TARGET=-ggdb -O0", a debuggable version of libgcobol.so is created. libgcobol * Makefile.am: Incorporate AM_CXXFLAGS = $(CXXFLAGS_FOR_TARGET). * Makefile.in: Regenerated. --- diff --git a/libgcobol/Makefile.am b/libgcobol/Makefile.am index 888cbf2b0b0..cafb733dde1 100644 --- a/libgcobol/Makefile.am +++ b/libgcobol/Makefile.am @@ -52,6 +52,8 @@ libgcobol_la_LINK = $(LIBTOOL) --mode=link --tag=CXX $(CXX) \ WARN_CFLAGS = -W -Wall -Wwrite-strings +AM_CXXFLAGS = $(CXXFLAGS_FOR_TARGET) + # not defined: DEFS, MAX_ERRORS, LTLDFLAGS ALL_CXXFLAGS = -I. -I$(srcdir) $(AM_CPPFLAGS) $(DEFS) \ $(XCFLAGS) $(AM_CXXFLAGS) $(WARN_CFLAGS) $(MAX_ERRORS) \ diff --git a/libgcobol/Makefile.in b/libgcobol/Makefile.in index 1a1e2ee39eb..c4a562a8058 100644 --- a/libgcobol/Makefile.in +++ b/libgcobol/Makefile.in @@ -431,6 +431,7 @@ libgcobol_la_LINK = $(LIBTOOL) --mode=link --tag=CXX $(CXX) \ $(LTLDFLAGS) $(LTLIBICONV) WARN_CFLAGS = -W -Wall -Wwrite-strings +AM_CXXFLAGS = $(CXXFLAGS_FOR_TARGET) # not defined: DEFS, MAX_ERRORS, LTLDFLAGS ALL_CXXFLAGS = -I. -I$(srcdir) $(AM_CPPFLAGS) $(DEFS) \