diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-03 13:51:53 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-03 13:51:53 -0700 |
commit | 715914f703187eafd17815d673712c609afaf9a0 (patch) | |
tree | 95b56c66d9b89f40c5dc66bd38d28a62d41c1bac | |
parent | f8a4a6430cb5910ebfe0d0edcb8bd85b54492d46 (diff) |
Use _CONST_X_STRING to make libXt declare String as const char *
Gets rid of 20 out of 37 -Wdiscarded-qualifiers errors from gcc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 75961ae..a1a69b9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,7 @@ SUBDIRS = man bin_PROGRAMS = xclipboard xcutsel AM_CFLAGS = $(CWARNFLAGS) $(XCLIPBOARD_CFLAGS) +AM_CPPFLAGS = -D_CONST_X_STRING # xclipboard |