security/nss/coreconf/HP-UXB.11.mk

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 #
michael@0 2 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 5 include $(CORE_DEPTH)/coreconf/HP-UX.mk
michael@0 6
michael@0 7 ifndef NS_USE_GCC
michael@0 8 CCC = /opt/aCC/bin/aCC -ext
michael@0 9 ifeq ($(USE_64), 1)
michael@0 10 ifeq ($(OS_TEST), ia64)
michael@0 11 ARCHFLAG = -Aa +e +p +DD64
michael@0 12 else
michael@0 13 # Our HP-UX build machine has a strange problem. If
michael@0 14 # a 64-bit PA-RISC executable calls getcwd() in a
michael@0 15 # network-mounted directory, it fails with ENOENT.
michael@0 16 # We don't know why. Since nsinstall calls getcwd(),
michael@0 17 # this breaks our 64-bit HP-UX nightly builds. None
michael@0 18 # of our other HP-UX machines have this problem.
michael@0 19 #
michael@0 20 # We worked around this problem by building nsinstall
michael@0 21 # as a 32-bit PA-RISC executable for 64-bit PA-RISC
michael@0 22 # builds. -- wtc 2003-06-03
michael@0 23 ifdef INTERNAL_TOOLS
michael@0 24 ARCHFLAG = +DAportable +DS2.0
michael@0 25 else
michael@0 26 ARCHFLAG = -Aa +e +DA2.0W +DS2.0 +DChpux
michael@0 27 endif
michael@0 28 endif
michael@0 29 else
michael@0 30 ifeq ($(OS_TEST), ia64)
michael@0 31 ARCHFLAG = -Aa +e +p +DD32
michael@0 32 else
michael@0 33 ARCHFLAG = +DAportable +DS2.0
michael@0 34 endif
michael@0 35 endif
michael@0 36 else
michael@0 37 CCC = aCC
michael@0 38 endif
michael@0 39
michael@0 40 #
michael@0 41 # To use the true pthread (kernel thread) library on HP-UX
michael@0 42 # 11.x, we should define _POSIX_C_SOURCE to be 199506L.
michael@0 43 # The _REENTRANT macro is deprecated.
michael@0 44 #
michael@0 45
michael@0 46 OS_CFLAGS += $(ARCHFLAG) -DHPUX11 -D_POSIX_C_SOURCE=199506L
michael@0 47 OS_LIBS += -lpthread -lm -lrt
michael@0 48 HPUX11 = 1

mercurial