@@ -25,7 +25,12 @@ def setup():
|
|||||||
shelltools.export("CXX", "%s -m32" % get.CXX())
|
shelltools.export("CXX", "%s -m32" % get.CXX())
|
||||||
shelltools.system("./Configure linux-elf %s" % options)
|
shelltools.system("./Configure linux-elf %s" % options)
|
||||||
shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
|
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:
|
else:
|
||||||
options += " enable-ec_nistp_64_gcc_128"
|
options += " enable-ec_nistp_64_gcc_128"
|
||||||
shelltools.system("./Configure linux-x86_64 %s" % options)
|
shelltools.system("./Configure linux-x86_64 %s" % options)
|
||||||
|
|||||||
Reference in New Issue
Block a user