aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Graham <development@winomega.com>2017-06-09 13:33:14 +0200
committerBrent Cook <bcook@openbsd.org>2017-07-07 00:09:42 -0500
commitf3e7ad5b06fcd8b1b522d4a15747f10bc7dc3155 (patch)
treeccd6d0a97a1a0681297edbcb25d7e23411131c58
parentda995141dc0992cf86f2e029fcb9b05077709fb0 (diff)
downloadportable-f3e7ad5b06fcd8b1b522d4a15747f10bc7dc3155.tar.gz
portable-f3e7ad5b06fcd8b1b522d4a15747f10bc7dc3155.tar.bz2
portable-f3e7ad5b06fcd8b1b522d4a15747f10bc7dc3155.zip
Remove misleading CFLAGS / LDFLAGS.
These variables were being ignored because libtool doesn't pass -static-libgcc to GCC. If you want to link libgcc statically, currently the only way to achieve this is to manually add -static-libgcc to CC variable. See: http://www.mingw.org/wiki/HOWTO_Sneak_GCC_Switches_Past_Libtool
-rw-r--r--m4/check-os-options.m42
1 files changed, 0 insertions, 2 deletions
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4
index 1a7b940..50438dc 100644
--- a/m4/check-os-options.m4
+++ b/m4/check-os-options.m4
@@ -106,8 +106,6 @@ char buf[1]; getentropy(buf, 1);
106 CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS" 106 CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS"
107 CPPFLAGS="$CPPFLAGS -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0501" 107 CPPFLAGS="$CPPFLAGS -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0501"
108 CPPFLAGS="$CPPFLAGS -DOPENSSL_NO_SPEED" 108 CPPFLAGS="$CPPFLAGS -DOPENSSL_NO_SPEED"
109 CFLAGS="$CFLAGS -static-libgcc"
110 LDFLAGS="$LDFLAGS -static-libgcc"
111 AC_SUBST([PLATFORM_LDADD], ['-lws2_32']) 109 AC_SUBST([PLATFORM_LDADD], ['-lws2_32'])
112 ;; 110 ;;
113 *solaris*) 111 *solaris*)