]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cobol: Make CXXFLAGS_FOR_TARGET available to the libgcobol build.
authorBob Dubner <rdubner@symas.com>
Fri, 21 Mar 2025 21:22:31 +0000 (17:22 -0400)
committerRobert Dubner <rdubner@symas.com>
Sun, 23 Mar 2025 04:00:52 +0000 (00:00 -0400)
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.

libgcobol/Makefile.am
libgcobol/Makefile.in

index 888cbf2b0b04a10d9b29d45762f8277cae33009c..cafb733dde1d665924a89c39a29052f2c7be6362 100644 (file)
@@ -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)  \
index 1a1e2ee39eb0be8e73e2b9182e8b41b471cacbfd..c4a562a805855b628e2c4a046f16453dade72052 100644 (file)
@@ -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)          \