Commit b081873f authored by Alan Coopersmith's avatar Alan Coopersmith 🛫

Pass -D_CONST_X_STRING to make libXt declare String as const char *

Clears up 16 of 47 gcc -Wdiscarded-qualifiers warnings
Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent fb90875f
......@@ -23,6 +23,7 @@ SUBDIRS = man
bin_PROGRAMS = oclock
AM_CFLAGS = $(OCLOCK_CFLAGS) $(CWARNFLAGS)
AM_CPPFLAGS = -D_CONST_X_STRING
oclock_LDADD = $(OCLOCK_LIBS) -lm
oclock_SOURCES = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment