diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-05-31 13:45:40 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-05-31 13:47:01 -0700 |
commit | 8e32cbc5f586ba7382941d355342b1f14bcc1f5e (patch) | |
tree | c6ece5fc1d027d37bb9db406fd0461d340c37b45 | |
parent | 63973d9097d4f914c7637937f3af502116375d58 (diff) |
Pass -D_CONST_X_STRING to make libXt declare String as const char *
Clears up 62 gcc -Wdiscarded-qualifiers warnings in the xman build
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 6c9a8c9..ada8ba7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,7 +25,7 @@ bin_PROGRAMS = xman helpdir=@HELPDIR@ dist_help_DATA = xman.help -AM_CFLAGS = $(CWARNFLAGS) $(XMAN_CFLAGS) \ +AM_CFLAGS = $(CWARNFLAGS) $(XMAN_CFLAGS) -D_CONST_X_STRING \ -D_BSD_SOURCE -DHELPFILE=\"$(helpdir)/xman.help\" xman_LDADD = $(XMAN_LIBS) |