RSA can be a bit faster with -O3 (no -Os)
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 12 Dec 2014 08:20:06 +0000 (17:20 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 12 Dec 2014 08:20:06 +0000 (17:20 +0900)
ChangeLog
src/Makefile.in

index 96435d3..307473c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-12-12  Niibe Yutaka  <gniibe@fsij.org>
 
+       * src/Makefile.in (build/bignum.o): Specific OPT for this target.
+
        * src/configure (target): Default is FST-01.
        (--with-dfu): FST-01 doesn't have DFU.  If set, it must be
        mistake.
index e2e8e92..806af50 100644 (file)
@@ -68,6 +68,8 @@ board.h:
 
 sys.c: board.h
 
+build/bignum.o: OPT = -O3 -g
+
 distclean: clean
        -rm -f gnuk.ld config.h board.h Makefile \
               usb-strings.c.inc usb-vid-pid-ver.c.inc