diff options
author | Andy Polyakov <appro@openssl.org> | 2011-07-13 22:30:33 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-07-13 22:30:33 +0000 |
commit | b79853c26206ba9e45e2de4e3582630a0b1c78f1 (patch) | |
tree | 29af133f95894cd00598e84159bd8f425132cb36 | |
parent | b429c4cbb9ac7866112dd82162c2e854d00a8ff6 (diff) |
fips/Makefile: HP-UX-specific update.
-rw-r--r-- | fips/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fips/Makefile b/fips/Makefile index 1eebfb45d7..23191d40c8 100644 --- a/fips/Makefile +++ b/fips/Makefile @@ -101,13 +101,16 @@ fipscanister.o: fips_start.o $(LIBOBJ) $(FIPS_OBJ_LISTS) fips_end.o done; \ objs="$$objs fips_end.o" ; \ os="`(uname -s) 2>/dev/null`"; cflags="$(CFLAGS)"; \ - [ "$$os" = "AIX" ] && cflags="$$cflags -Wl,-bnoobjreorder"; \ + case "$$os" in \ + AIX) cflags="$$cflags -Wl,-bnoobjreorder" ;; \ + HP-UX) cflags="$$cflags -Wl,+sectionmerge" ;; \ + esac; \ if [ -n "${FIPS_SITE_LD}" ]; then \ set -x; ${FIPS_SITE_LD} -r -o $@ $$objs; \ elif $(CC) -dumpversion >/dev/null 2>&1; then \ set -x; $(CC) $$cflags -r -nostdlib -o $@ $$objs ; \ else case "$$os" in \ - HP-UX|OSF1|SunOS) set -x; /usr/ccs/bin/ld -r -o $@ $$objs ;; \ + OSF1|SunOS) set -x; /usr/ccs/bin/ld -r -o $@ $$objs ;; \ *) set -x; $(CC) $$cflags -r -o $@ $$objs ;; \ esac fi ./fips_standalone_sha1$(EXE_EXT) fipscanister.o > fipscanister.o.sha1 |