security/nss/lib/dev/Makefile

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/dev/Makefile	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +# 
     1.5 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.8 +
     1.9 +include manifest.mn
    1.10 +include $(CORE_DEPTH)/coreconf/config.mk
    1.11 +include config.mk
    1.12 +include $(CORE_DEPTH)/coreconf/rules.mk
    1.13 +
    1.14 +# On AIX 4.3, IBM xlC_r compiler (version 3.6.6) cannot compile
    1.15 +# ckhelper.c in 64-bit mode for unknown reasons.  A workaround is
    1.16 +# to compile it with optimizations turned on.  (Bugzilla bug #63815)
    1.17 +ifeq ($(OS_TARGET)$(OS_RELEASE),AIX4.3)
    1.18 +ifeq ($(USE_64),1)
    1.19 +ifndef BUILD_OPT
    1.20 +$(OBJDIR)/ckhelper.o: ckhelper.c
    1.21 +	@$(MAKE_OBJDIR)
    1.22 +	$(CC) -o $@ -c -O2 $(CFLAGS) $<
    1.23 +endif
    1.24 +endif
    1.25 +endif
    1.26 +
    1.27 +export:: private_export

mercurial