Add flags so libtommath builds with -O3

This was the default prior to 2022.82 and makes a significant
difference to performance. Perhaps at a later time
this could be made more configurable.

Discussion in https://github.com/mkj/dropbear/issues/174
This commit is contained in:
Matt Johnston 2022-10-25 21:12:08 +08:00
parent 17e02fe614
commit 86efbae708

View File

@ -104,7 +104,7 @@ LIBTOOLFLAGS += -no-undefined
endif endif
# add in the standard FLAGS # add in the standard FLAGS
LTM_CFLAGS += $(CFLAGS) LTM_CFLAGS := $(CFLAGS) $(LTM_CFLAGS)
LTM_LFLAGS += $(LFLAGS) LTM_LFLAGS += $(LFLAGS)
LTM_LDFLAGS += $(LDFLAGS) LTM_LDFLAGS += $(LDFLAGS)
LTM_LIBTOOLFLAGS += $(LIBTOOLFLAGS) LTM_LIBTOOLFLAGS += $(LIBTOOLFLAGS)