* libsupc++/Makefile.am: Compile del_ops.cc as C++14.
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jan 2015 17:08:11 +0000 (17:08 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jan 2015 17:08:11 +0000 (17:08 +0000)
* libsupc++/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219317 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/Makefile.am
libstdc++-v3/libsupc++/Makefile.in

index ebd789c..affe204 100644 (file)
@@ -1,3 +1,8 @@
+2015-01-07  Jonathan Wakely  <jwakely@redhat.com>
+
+       * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
+       * libsupc++/Makefile.in: Regenerate.
+
 2015-01-06  Jonathan Wakely  <jwakely@redhat.com>
 
        * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
index 06e56b6..aace1a6 100644 (file)
@@ -177,6 +177,12 @@ new_opnt.lo: new_opnt.cc
 new_opnt.o: new_opnt.cc
        $(CXXCOMPILE) -std=gnu++11 -c $<
 
+# Use special rules for the C++14 sources so that the proper flags are passed.
+del_ops.lo: del_ops.cc
+       $(LTCXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $<
+del_ops.o: del_ops.cc
+       $(CXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $<
+
 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
 # modified in a per-library or per-sub-library way.  Need to manually
 # set this option because CONFIG_CXXFLAGS has to be after
index 9a1d725..50fee54 100644 (file)
@@ -870,6 +870,12 @@ new_opnt.lo: new_opnt.cc
 new_opnt.o: new_opnt.cc
        $(CXXCOMPILE) -std=gnu++11 -c $<
 
+# Use special rules for the C++14 sources so that the proper flags are passed.
+del_ops.lo: del_ops.cc
+       $(LTCXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $<
+del_ops.o: del_ops.cc
+       $(CXXCOMPILE) -std=gnu++14 -Wno-sized-deallocation -c $<
+
 install-stdHEADERS: $(std_HEADERS)
        @$(NORMAL_INSTALL)
        $(mkinstalldirs) $(DESTDIR)$(stddir)