Update actions.py

fix build i686
This commit is contained in:
bferturk
2016-04-03 12:01:10 +03:00
parent 9cfbdaeece
commit c92e68bf3d
+6 -1
View File
@@ -25,7 +25,12 @@ def setup():
shelltools.export("CXX", "%s -m32" % get.CXX())
shelltools.system("./Configure linux-elf %s" % options)
shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
elif get.ARCH() == "i686":
shelltools.system("./Configure linux-elf %s" % options)
pisitools.dosed("Makefile", "^(SHARED_LDFLAGS=).*", "\\1 ${LDFLAGS}")
pisitools.dosed("Makefile", "^(CFLAG=.*)", "\\1 ${CFLAGS}")
else:
options += " enable-ec_nistp_64_gcc_128"
shelltools.system("./Configure linux-x86_64 %s" % options)