mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 03:47:02 -05:00
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.
This commit is contained in:
committed by
Robert Dubner
parent
d8d6a61d1c
commit
438e82b8aa
@@ -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) \
|
||||
|
||||
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user