diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-17 20:03:52 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-17 20:03:52 +0100 |
commit | 5d439d69552e753debc48461293517b66b0b94b4 (patch) | |
tree | c7c1a7e83ef6d69c0ed69a8776fc4a11bd199b8f /Makefile.org | |
parent | Experimental perl script to edit assembly language source files, (diff) | |
download | openssl-5d439d69552e753debc48461293517b66b0b94b4.tar.xz openssl-5d439d69552e753debc48461293517b66b0b94b4.zip |
Make -DOPENSSL_FIPSSYMS work for assembly language builds.
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.org b/Makefile.org index 09cb9a07a2..deaf792546 100644 --- a/Makefile.org +++ b/Makefile.org @@ -78,7 +78,7 @@ LIBDIR=lib # dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC # gcc, then the driver will automatically translate it to -xarch=v8plus # and pass it down to assembler. -AS=$(CC) -c +#AS=$(CC) -c ASFLAG=$(CFLAG) # For x86 assembler: Set PROCESSOR to 386 if you want to support @@ -205,7 +205,7 @@ CLEARENV= TOP= && unset TOP $${LIB+LIB} $${LIBS+LIBS} \ BUILDENV= PLATFORM='$(PLATFORM)' PROCESSOR='$(PROCESSOR)' \ CC='$(CC)' CFLAG='$(CFLAG)' \ - AS='$(CC)' ASFLAG='$(CFLAG) -c' \ + ASFLAG='$(CFLAG) -c' \ AR='$(AR)' NM='$(NM)' RANLIB='$(RANLIB)' \ CROSS_COMPILE='$(CROSS_COMPILE)' \ PERL='$(PERL)' ENGDIRS='$(ENGDIRS)' \ @@ -367,6 +367,11 @@ build_crypto: else \ ARX='${AR}' ; \ fi ; export ARX ; \ + if [ $(FIPSCANISTERINTERNAL) = "y" ]; then \ + AS='$(PERL) $${TOP}/util/fipsas.pl $${TOP} $${<} $(CC) -c' ; \ + else \ + AS='$(CC) -c' ; \ + fi ; export AS ; \ dir=crypto; target=all; $(BUILD_ONE_CMD) build_ssl: @dir=ssl; target=all; $(BUILD_ONE_CMD) |