use -O3 instead of -Os

pull/25/head
Pavol Rusnak 9 years ago
parent f2ef64228a
commit 9c3e51074b

@ -1,6 +1,6 @@
CC = gcc
OPTFLAGS = -Os -g
OPTFLAGS = -O3 -g
CFLAGS += $(OPTFLAGS) \
-W \

@ -1,3 +1,4 @@
#!/usr/bin/python
import ctypes as c
import random
import ecdsa
@ -25,7 +26,7 @@ random_iters = int(os.environ.get('ITERS', 1))
scons_file = '''
srcs = 'ecdsa bignum secp256k1 nist256p1 sha2 rand hmac ripemd160 base58'
srcs = [(s + '.c') for s in srcs.split()]
flags = ('-Os -g -W -Wall -Wextra -Wimplicit-function-declaration '
flags = ('-O3 -g -W -Wall -Wextra -Wimplicit-function-declaration '
'-Wredundant-decls -Wstrict-prototypes -Wundef -Wshadow '
'-Wpointer-arith -Wformat -Wreturn-type -Wsign-compare -Wmultichar '
'-Wformat-nonliteral -Winit-self -Wuninitialized -Wformat-security '

Loading…
Cancel
Save