diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 14:42:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-13 14:42:06 +0100 |
commit | aab41efc81ec26fcbd4cdeb9c36fbe8cc274523f (patch) | |
tree | 1df313ad3f9823d3321ffa89f0689044def891c6 /python/makefile.mk | |
parent | 535ce8c499e9f53087cb36100d6d956810935e39 (diff) |
get this to build on AIX
Diffstat (limited to 'python/makefile.mk')
-rw-r--r-- | python/makefile.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/python/makefile.mk b/python/makefile.mk index ddc386938e45..9250ebca4ca5 100644 --- a/python/makefile.mk +++ b/python/makefile.mk @@ -49,7 +49,8 @@ TARFILE_NAME=Python-$(PYVERSION) TARFILE_MD5=e81c2f0953aa60f8062c05a4673f2be0 PATCH_FILES=\ Python-$(PYVERSION).patch \ - Python-ssl.patch + Python-ssl.patch \ + Python-aix.patch CONFIGURE_DIR= @@ -75,10 +76,17 @@ CC+:=$(ARCH_FLAGS) python_LDFLAGS+=$(ARCH_FLAGS) .ENDIF +.IF "$(OS)"=="AIX" +python_CFLAGS=-g0 +.ENDIF + CONFIGURE_ACTION=$(AUGMENT_LIBRARY_PATH) ./configure --prefix=$(MYCWD)/python-inst --enable-shared CFLAGS="$(python_CFLAGS)" LDFLAGS="$(python_LDFLAGS)" .IF "$(OS)$(CPU)" == "SOLARISI" CONFIGURE_ACTION += --disable-ipv6 .ENDIF +.IF "$(OS)"=="AIX" +CONFIGURE_ACTION += --disable-ipv6 --with-threads +.ENDIF BUILD_ACTION=$(ENV_BUILD) $(GNUMAKE) -j$(EXTMAXPROCESS) && $(GNUMAKE) install && chmod -R ug+w $(MYCWD)/python-inst && chmod g+w Include .ELSE # ---------------------------------- |