# NB. GNU C has to be configured to use GNU assembler, and not
# /usr/ccs/bin/as. Failure to comply will result in compile
# failures [at least] in 32-bit build.
- # [Above statement is in direct contradition with one below.
- # Latter is kept, because it's formally inappropriate to
- # modify compile flags in letter release.]
- # -DOPENSSL_NO_INLINE_ASM switches off inline assembler. We have
- # to do it here because whenever GNU C instantiates an assembler
- # template it surrounds it with #APP #NO_APP comment pair which
- # (at least Solaris 7_x86) /usr/ccs/bin/as fails to assemble
- # with "Illegal mnemonic" error message.
inherit_from => [ "solaris-common", asm("x86_elf_asm") ],
cc => "gcc",
- cflags => add_before(picker(default => "-Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM",
+ cflags => add_before(picker(default => "-Wall -DL_ENDIAN",
debug => "-O0 -g",
release => "-O3 -fomit-frame-pointer"),
threads("-pthread")),