Skip to content

Commit

Permalink
Fixed problem with nasm hidden visibility detection
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 26, 2006
1 parent 0a6af9b commit b5fe841
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.in
Expand Up @@ -622,7 +622,8 @@ AC_HELP_STRING([--enable-nasm], [use nasm assembly blitters on x86 [[default=yes
NASMFLAGS="$NASMFLAGS -i $srcdir/src/hermes/"

dnl See if hidden visibility is supported
echo 'GLOBAL _bar:function hidden' > nasm_vis.asm
echo "GLOBAL _bar:function hidden" > nasm_vis.asm
echo "_bar:" >>nasm_vis.asm
if $NASM $NASMFLAGS nasm_vis.asm -o nasm_vis.o >&AS_MESSAGE_LOG_FD 2>&1; then
NASMFLAGS="$NASMFLAGS -DHIDDEN_VISIBILITY"
fi
Expand Down

0 comments on commit b5fe841

Please sign in to comment.