KDBG needs DBG to be set, I can't imagine any useful situation for KDBG without DBG.
[reactos.git] / reactos / ntoskrnl / ntoskrnl-generic.rbuild
index 99f6c8f..6c7626b 100644 (file)
        <library>bootvid</library>
        <library>wdmguid</library>
        <dependency>bugcodes</dependency>
+       <!-- See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38269
        <directory name="include">
-               <pch>ntoskrnl.h</pch>
+               <pch>precomp.h</pch>
        </directory>
+       -->
        <directory name="ke">
                <if property="ARCH" value="i386">
                        <directory name="i386">
                                <file>kdb_keyboard.c</file>
                                <file>kdb_serial.c</file>
                        </if>
-                       <if property="DBG_OR_KDBG" value="true">
+                       <if property="DBG" value="1">
                                <file>kdb_symbols.c</file>
                        </if>
                </directory>
                <file>wmi.c</file>
        </directory>
        <file>ntoskrnl.rc</file>
-       <file>ntoskrnl.pspec</file>
        <linkerscript>ntoskrnl_$(ARCH).lnk</linkerscript>
+
+       <!-- See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054#c7 -->
+       <compilerflag>-fno-unit-at-a-time</compilerflag>
 </group>