1 --- a/libtomcrypt/makefile_include.mk
2 +++ b/libtomcrypt/makefile_include.mk
3 @@ -94,6 +94,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 @@ -121,6 +128,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 @@ -70,6 +70,9 @@ else
30 LTM_CFLAGS += -Wsystem-headers
39 @@ -90,6 +93,9 @@ endif
46 ifneq ($(findstring clang,$(CC)),)
47 LTM_CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header