Skip to content

Commit

Permalink
configure: fix test: too many arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban committed Mar 11, 2024
1 parent b510e71 commit ea95e6d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,10 @@ ax_enable_compile_warnings=yes
dnl This is too intrusive for our DWG_TYPE_* switches
ax_cv_check_cflags__Wswitch_enum=no
dnl wasm does not support -fstack-protector yet
if test x$enable_shared = xyes -a x$ac_compiler_gnu = xyes -a x$CC != xemcc; then
if test x$enable_shared = xyes && \
test x$ac_compiler_gnu = xyes && \
test x$CC != xemcc
then
AX_COMPILER_FLAGS([WARN_CFLAGS],[AM_LDFLAGS],[$ax_is_release],
[-fno-semantic-interposition -fwrapv -fno-common -fvisibility=hidden \
-fno-strict-aliasing -ftrivial-auto-var-init=zero \
Expand Down

0 comments on commit ea95e6d

Please sign in to comment.