Mercurial > hg > th-libs
changeset 426:56874ab723d3
Fix build for older GCC versions.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 31 May 2016 16:16:04 +0300 |
parents | c3f474e59bc1 |
children | 77ae15ffc3cc 592e5dc7ecef |
files | Makefile.gen |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.gen Thu Mar 10 01:55:22 2016 +0200 +++ b/Makefile.gen Tue May 31 16:16:04 2016 +0300 @@ -1,7 +1,10 @@ -CFLAGS += -W -Wall -Wextra -std=c11 -pedantic -I./ -D_XOPEN_SOURCE=500 -DTH_USE_INTERNAL_SPRINTF=1 +CFLAGS += -W -Wall -Wextra -D_XOPEN_SOURCE=500 -I./ +#CFLAGS += -std=c11 -pedantic CFLAGS += -g CFLAGS += -O2 +CFLAGS += -DTH_USE_INTERNAL_SPRINTF=1 CFLAGS += -DTH_PRINTF_DEBUG=1 + THLIBS = ./ #