P0482R5 char8_t: Standard library support
[gcc.git] / libstdc++-v3 / src / c++11 / Makefile.in
index 92816c8cb684fc68801f98a5985e0c4b790ef64d..a972915a2a73da4502e6f2b60b28898e98c58a6b 100644 (file)
@@ -834,6 +834,16 @@ hashtable_c++0x.lo: hashtable_c++0x.cc
 hashtable_c++0x.o: hashtable_c++0x.cc
        $(CXXCOMPILE) -fimplicit-templates -c $<
 
+# Use special rules for source files that require -fchar8_t.
+codecvt.lo: codecvt.cc
+       $(LTCXXCOMPILE) -fchar8_t -c $<
+codecvt.o: codecvt.cc
+       $(CXXCOMPILE) -fchar8_t -c $<
+limits.lo: limits.cc
+       $(LTCXXCOMPILE) -fchar8_t -c $<
+limits.o: limits.cc
+       $(CXXCOMPILE) -fchar8_t -c $<
+
 @ENABLE_DUAL_ABI_TRUE@cxx11-ios_failure-lt.s: cxx11-ios_failure.cc
 @ENABLE_DUAL_ABI_TRUE@ $(LTCXXCOMPILE) -S $< -o tmp-cxx11-ios_failure-lt.s
 @ENABLE_DUAL_ABI_TRUE@ -test -f tmp-cxx11-ios_failure-lt.o && mv -f tmp-cxx11-ios_failure-lt.o tmp-cxx11-ios_failure-lt.s