Only apply C++ compiler flags to the C++ compiler. Fixes useless build warnings.
[reactos.git] / reactos / lib / nls / scripts / scripts.rbuild
index 15a17a6..a6488ae 100644 (file)
@@ -2,8 +2,8 @@
 <!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
 <module name="scripts" type="staticlibrary">
        <library>icu4ros</library>
-       <compilerflag>-fno-exceptions</compilerflag>
-       <compilerflag>-fno-rtti</compilerflag>
+       <compilerflag compiler="cpp">-fno-exceptions</compilerflag>
+       <compilerflag compiler="cpp">-fno-rtti</compilerflag>
        <include base="icu4ros">icu/source/common</include>
        <file>scripts.cpp</file>
 </module>