SPARC Solaris config updates.
[openssl.git] / crypto / bn / Makefile.ssl
index d14f2d5375e326b165941618fd7ceab0498185a2..fcabb62452b375d38dd92c9cfc40831a0832bed4 100644 (file)
@@ -103,10 +103,15 @@ asm/sparcv8.o: asm/sparcv8.S
 
 asm/sparcv8plus.o: asm/sparcv8plus.S
 
-asm/sparcv8plus-gcc.o: asm/sparcv8plus.S
-       gcc -E asm/sparcv8plus.S | /usr/ccs/bin/as -xarch=v8plus - -o asm/sparcv8plus-gcc.o
-       # GNU as cannot handle that file, so we circumvent PATH and
-       # always use /usr/ccs/bin/as.
+# Old GNU assembler doesn't understand V9 instructions, so we
+# hire /usr/ccs/bin/as to do the job. Note that option is called
+# *-gcc27, but even gcc 2>=8 users may experience similar problem
+# if they didn't bother to upgrade GNU assembler. Such users should
+# not choose this option, but be adviced to *remove* GNU assembler
+# or upgrade it.
+asm/sparcv8plus-gcc27.o: asm/sparcv8plus.S
+       $(CC) $(ASFLAGS) -E asm/sparcv8plus.S | \
+               /usr/ccs/bin/as -xarch=v8plus - -o asm/sparcv8plus-gcc27.o
 
 # MIPS 64 bit assember 
 asm/mips3.o: asm/mips3.s