aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Graham <development@winomega.com>2017-06-09 13:33:14 +0200
committerPaul Graham <development@winomega.com>2017-06-09 13:33:14 +0200
commitb49242fcb0dbf5c50cc1410c39747080de7363dd (patch)
tree32f5c15c204ab8d5f97e6b7a175c43ec7139454e
parent0974d6f011d10f2b32f2a2a8477530c3856f05ea (diff)
downloadportable-b49242fcb0dbf5c50cc1410c39747080de7363dd.tar.gz
portable-b49242fcb0dbf5c50cc1410c39747080de7363dd.tar.bz2
portable-b49242fcb0dbf5c50cc1410c39747080de7363dd.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*)