From 2e84c896830b421bce3dee86be197c553cf89928 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 14 Jun 2015 22:28:11 +0000 Subject: Reverted the previous change and renamde the --enable-static-libc configure option to --enable-static-stdlib. --- configure.ac | 20 +++----------------- 1 file 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="" ) -- cgit v1.2.3