PDP1, PDP11, TX-0: Cleanup build messages on *nix platforms avoiding XKeycodeToKeysym deprecated messages. Fix #58
This commit is contained in:
parent
4938c02d95
commit
6d61de5a30
1 changed files with 5 additions and 0 deletions
5
makefile
5
makefile
|
@ -804,6 +804,11 @@ ifeq ($(WIN32),)
|
||||||
DISPLAYL = ${DISPLAYD}/display.c $(DISPLAYD)/x11.c
|
DISPLAYL = ${DISPLAYD}/display.c $(DISPLAYD)/x11.c
|
||||||
DISPLAYVT = ${DISPLAYD}/vt11.c
|
DISPLAYVT = ${DISPLAYD}/vt11.c
|
||||||
DISPLAY_OPT = -DUSE_DISPLAY -I/usr/X11/include -lXt -lX11 -lm
|
DISPLAY_OPT = -DUSE_DISPLAY -I/usr/X11/include -lXt -lX11 -lm
|
||||||
|
ifneq (3,$(GCC_MAJOR_VERSION))
|
||||||
|
ifneq (,$(findstring -Wdeprecated-declarations,$(shell $(GCC_WARNINGS_CMD))))
|
||||||
|
DISPLAY_OPT += -Wno-deprecated-declarations
|
||||||
|
endif
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
DISPLAYL =
|
DISPLAYL =
|
||||||
DISPLAYVT =
|
DISPLAYVT =
|
||||||
|
|
Loading…
Add table
Reference in a new issue