Skip to content

Commit

Permalink
Add flags so libtommath builds with -O3
Browse files Browse the repository at this point in the history
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 #174
  • Loading branch information
mkj committed Oct 25, 2022
1 parent 17e02fe commit 86efbae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libtommath/makefile_include.mk
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ LIBTOOLFLAGS += -no-undefined
endif

# add in the standard FLAGS
LTM_CFLAGS += $(CFLAGS)
LTM_CFLAGS := $(CFLAGS) $(LTM_CFLAGS)
LTM_LFLAGS += $(LFLAGS)
LTM_LDFLAGS += $(LDFLAGS)
LTM_LIBTOOLFLAGS += $(LIBTOOLFLAGS)
Expand Down

0 comments on commit 86efbae

Please sign in to comment.