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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial