diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-01 17:24:20 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-01 17:24:20 -0700 |
commit | 7a04d51cb90b9a314eea117bc36fedb2bfaab516 (patch) | |
tree | 04bf4410839752f6bcf207bc915b7e3e86b7deca | |
parent | 519e35d2c5649a995d39ee26e39809a3b7ffabc9 (diff) |
Pass -D_CONST_X_STRING to make libXt declare String as const char *
Clears up 58 of 62 gcc -Wdiscarded-qualifiers warnings in the xcalc 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 b1b2abf..25eae98 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,7 @@ SUBDIRS = man bin_PROGRAMS = xcalc -AM_CFLAGS = $(XCALC_CFLAGS) $(CWARNFLAGS) +AM_CFLAGS = $(XCALC_CFLAGS) $(CWARNFLAGS) -D_CONST_X_STRING xcalc_LDADD = $(XCALC_LIBS) -lm xcalc_SOURCES = \ |