diff options
author | joerg <joerg@pkgsrc.org> | 2011-08-31 14:45:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-08-31 14:45:27 +0000 |
commit | aba60ab26393e9b2bf4d6a3337aeb1f366855245 (patch) | |
tree | dd98b1b3c78c1fff34603201689b840fd7307950 | |
parent | b6811272ba2a5348845e466d3b8fd8a9aae2741c (diff) | |
download | pkgsrc-aba60ab26393e9b2bf4d6a3337aeb1f366855245.tar.gz |
With clang, disable -OPT:Olimit usage as it disables the build of
unicodedata for reasons not completely understood. It doesn't really
make sense for the compiler, so just don't use it.
-rw-r--r-- | lang/python24/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile index 098edd2c69a..8d41f005599 100644 --- a/lang/python24/Makefile +++ b/lang/python24/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.56 2011/04/23 08:53:53 obache Exp $ +# $NetBSD: Makefile,v 1.57 2011/08/31 14:45:27 joerg Exp $ .include "dist.mk" @@ -164,6 +164,12 @@ post-install: USE_GNU_READLINE= # defined BUILDLINK_DEPMETHOD.readline= build +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mclang) +CONFIGURE_ENV+= ac_cv_opt_olimit_ok=no +.endif + .include "../../archivers/bzip2/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/readline/buildlink3.mk" |