firefird:ver. bump
This commit is contained in:
@@ -15,31 +15,27 @@ WorkDir="Firebird-%s-0" % get.srcVERSION()
|
||||
def setup():
|
||||
shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS())
|
||||
#shelltools.export("CXXFLAGS", "%s -std=gnu++98 -fno-lifetime-dse" % get.CXXFLAGS())
|
||||
shelltools.export("CXXFLAGS", "%s -fno-lifetime-dse" % get.CXXFLAGS())
|
||||
shelltools.export("CXXFLAGS", "%s -fno-lifetime-dse -Wno-error=narrowing" % get.CXXFLAGS())
|
||||
pisitools.dosed("src/isql/isql.epp", '"isql\s', '"fbsql ')
|
||||
pisitools.dosed("src/msgs/history2.sql", 'isql\s', 'fbsql ')
|
||||
pisitools.dosed("src/msgs/messages2.sql", 'isql\s', 'fbsql ')
|
||||
pisitools.dosed("src/msgs/messages2.sql", 'ISQL\s', 'FBSQL ')
|
||||
|
||||
#pisitools.dosed("src/jrd/perf.h", '#include <libio.h>', '')
|
||||
|
||||
shelltools.system("find ./ -name \*.sh -print0 | xargs -0 chmod +x")
|
||||
for d in ("btyacc", "editline", "icu"):
|
||||
shelltools.unlinkDir("extern/%s" % d)
|
||||
#for d in ("btyacc", "editline", "icu"):
|
||||
#shelltools.unlinkDir("extern/%s" % d)
|
||||
shelltools.system("sh autogen.sh")
|
||||
autotools.autoreconf("-fi")
|
||||
autotools.configure("--prefix=/opt/firebird \
|
||||
--disable-static \
|
||||
--enable-superserver \
|
||||
--with-editline \
|
||||
--with-gnu-ld \
|
||||
--with-system-editline \
|
||||
--with-system-icu \
|
||||
")
|
||||
|
||||
def build():
|
||||
#Parallel build is broken
|
||||
#shelltools.export("CXXFLAGS", "%s -std=gnu++98 -fno-lifetime-dse" % get.CXXFLAGS())
|
||||
shelltools.export("CXXFLAGS", "%s -fno-lifetime-dse" % get.CXXFLAGS())
|
||||
shelltools.export("CXXFLAGS", "%s -fno-lifetime-dse -Wno-error=narrowing" % get.CXXFLAGS())
|
||||
autotools.make("-j1")
|
||||
shelltools.cd("gen")
|
||||
pisitools.dosed("install/makeInstallImage.sh", "exit 1", "# exit 1")
|
||||
|
||||
Reference in New Issue
Block a user