Skip to content

Commit

Permalink
Disable compiler optimizations on AIX (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbish authored Dec 14, 2023
1 parent 1f063ab commit 87c6454
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ case "$host_os" in
;;
*aix*)
AC_MSG_NOTICE([-fstack-protector disabled on AIX])
CFLAGS="$CFLAGS -Wl,-lm"
AC_MSG_NOTICE([Compiler optimizations disabled on AIX])
CFLAGS="$CFLAGS -O0 -Wl,-lm"
has_stack_protector=no
IS_AIX=yes
;;
Expand Down

0 comments on commit 87c6454

Please sign in to comment.