Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 578280

Summary: sys-libs/zlib-1.2.8-r1: CFLAGS/LDFLAGS ignored on mingw targets
Product: Gentoo Linux Reporter: Luke-Jr <luke-jr+gentoobugs>
Component: [OLD] LibraryAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luke-Jr 2016-03-26 06:05:17 UTC
The ebuild uses a plain-old-Makefile when building for mingw, which ignores CFLAGS/LDFLAGS entirely. This is especially annoying because GCC 4.8+ has a regression where libgcc_s_sjlj-1.dll is required for basically everything on MinGW32 unless -static-libgcc is passed in LDFLAGS.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-01-23 15:31:32 UTC
Latest zlib-1.2.11-r3 should take care of that. Please re-open or file a new bug if you still experience the problem.