build: on linux include the X11 and Xm headers with -isystem rather than -I,

this means the compiler treats them as system headers and does not give you
excessive warnings from them. This is used because X11 does not like the
-ansi and -pedantic warnings that CDE is compiled with.
This commit is contained in:
Peter Howkins
2012-08-31 18:35:20 +01:00
parent 274bea6c1a
commit 1c7c33aa71
2 changed files with 8 additions and 1 deletions

View File

@@ -65,7 +65,9 @@ XCOMM $TOG: X11.rules /main/4 1997/04/30 15:23:24 kaleb $
#define LdPostLibs LdPostLib XLdPostLibs
#if ImportX11
# define TopXInclude -I$(TOP)/imports/x11/include
# ifndef TopXInclude
# define TopXInclude -I$(TOP)/imports/x11/include
# endif
#elif !UseInstalledX11
# define TopXInclude -I$(TOP)/exports/include
#else