This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: CXXFLAGS patch evaporated


According to Benjamin Kosnik:
> Yup. Sorry, should have caught this. Can you resubmit?

No problem.   Here you go ... I think.  (I'm new to auto*.)

Index: acinclude.m4
--- acinclude.m4	1999/11/29 18:32:59	1.2
+++ acinclude.m4	1999/12/04 05:58:35
@@ -1,3 +1,7 @@
 dnl
+dnl By default, automake doesn't propagate CXXFLAGS
+dnl
+AC_SUBST(CXXFLAGS)dnl
+dnl
 dnl Check to see if this version of GNU C++ is afflicted by bugs in
 dnl __complex__ float support.

Index: src/Makefile.am
--- Makefile.am	1999/11/29 18:32:59	1.57
+++ Makefile.am	1999/12/04 05:58:36
@@ -10,6 +10,6 @@
 #                  -ffunction-sections -fvtable-gc -Wl,--gc-sections
 CXXFLAGS = -g -D_GNU_SOURCE -fno-implicit-templates \
-	   -Wall -Wno-format -W -Wwrite-strings -Winline $(WERROR) \
-	   $(OTHER_CXXFLAGS)
+	   -Wall -Wno-format -W -Wwrite-strings -Winline \
+	   @CXXFLAGS@ $(WERROR) $(OTHER_CXXFLAGS)
 
 CXXLINK = $(LIBTOOL) --mode=link $(CC) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@

-- 
Chip Salzenberg             - a.k.a. -              <chip@valinux.com>
     "Fleagal.  Bingo.  Drooper.  Snork.  They're cops."   //MST3K

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]