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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user