1 --- a/libtomcrypt/makefile_include.mk
2 +++ b/libtomcrypt/makefile_include.mk
3 @@ -75,6 +75,13 @@ endif
5 LTC_CFLAGS += -Wno-type-limits
8 + ifeq (-Os,$(filter -Os,$(CFLAGS)))
9 + LTC_CFLAGS += -DLTC_SMALL_CODE
16 # compile for DEBUGGING (required for ccmalloc checking!!!)
17 @@ -102,6 +109,9 @@ endif
25 ifneq ($(findstring clang,$(CC)),)
26 LTC_CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header -Wno-missing-field-initializers
27 --- a/libtommath/makefile_include.mk
28 +++ b/libtommath/makefile_include.mk
29 @@ -37,6 +37,9 @@ CFLAGS += -Wsystem-headers -Wdeclaration
30 CFLAGS += -Wstrict-prototypes -Wpointer-arith
39 @@ -58,6 +61,9 @@ endif
46 ifneq ($(findstring clang,$(CC)),)
47 CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header