diff options
-rw-r--r-- | configure.ac | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac index ffaafd8..f07db68 100644 --- a/configure.ac +++ b/configure.ac @@ -170,24 +170,10 @@ dnl ---------------------------------------------------------------- dnl static libc dnl -AC_ARG_ENABLE(static_libc, - AC_HELP_STRING([--enable-static-libc], [staticly link with libc]), +AC_ARG_ENABLE(static_stdlib, + AC_HELP_STRING([--enable-static-stdlib], [staticly link with libgcc and libstdc++]), AC_MSG_RESULT(yes) - STATIC_LDADD="$STATIC_LDADD -static-libgcc", - AC_MSG_RESULT(no) - STATIC_LDADD="" -) - -AC_SUBST(STATIC_LDADD) - -dnl ---------------------------------------------------------------- -dnl static libstdc++ -dnl - -AC_ARG_ENABLE(static_libc, - AC_HELP_STRING([--enable-static-libstdc++], [staticly link with libstdc++]), - AC_MSG_RESULT(yes) - STATIC_LDADD="$STATIC_LDADD -static-libstdc++", + STATIC_LDADD="-static-libgcc -static-libstdc++", AC_MSG_RESULT(no) STATIC_LDADD="" ) |