summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-08 18:38:58 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-08 18:38:58 -0700
commitb081873f3bb18d1c130b2d59d0757f8fee499a2b (patch)
tree330b4db2da15c8fba61425df5811b1a968711725 /Makefile.am
parentfb90875f2b64cbd7bcde4a6a5ed1c927c8068767 (diff)
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 <alan.coopersmith@oracle.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 8570bf4..86e34de 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 = \