Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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/.
6 #
7 # The Bourne shell (sh) on OSF1 doesn't handle "set -e" correctly,
8 # which we use to stop LOOP_OVER_DIRS submakes as soon as any
9 # submake fails. So we use the Korn shell instead.
10 #
11 SHELL = /usr/bin/ksh
13 include $(CORE_DEPTH)/coreconf/UNIX.mk
15 DEFAULT_COMPILER = cc
17 CC = cc
18 OS_CFLAGS += $(NON_LD_FLAGS) -std1
19 CCC = cxx
20 RANLIB = /bin/true
21 CPU_ARCH = alpha
23 ifdef BUILD_OPT
24 OPTIMIZER += -Olimit 4000
25 endif
27 NON_LD_FLAGS += -ieee_with_inexact
28 OS_CFLAGS += -DOSF1 -D_REENTRANT
30 ifeq ($(USE_PTHREADS),1)
31 OS_CFLAGS += -pthread
32 endif
34 # The command to build a shared library on OSF1.
35 MKSHLIB += ld -shared -expect_unresolved "*" -soname $(notdir $@)
36 ifdef MAPFILE
37 MKSHLIB += -hidden -input $(MAPFILE)
38 endif
39 PROCESS_MAP_FILE = grep -v ';+' $< | grep -v ';-' | \
40 sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,-exported_symbol ,' > $@
42 DSO_LDOPTS += -shared
44 # required for freebl
45 USE_64=1
46 # this platform name does not use a bit tag due to only having a 64-bit ABI
47 64BIT_TAG=