diff mbox

[12/20] Fix flags for LIBC_mingw

Message ID 1407352611-7652-12-git-send-email-diorcet.yann@gmail.com
State New
Delegated to: Esben Haabendal
Headers show

Commit Message

Yann Diorcet Aug. 6, 2014, 7:16 p.m. UTC
---
 classes/c.oeclass | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/classes/c.oeclass b/classes/c.oeclass
index 1f54fbd..b7133df 100644
--- a/classes/c.oeclass
+++ b/classes/c.oeclass
@@ -94,8 +94,10 @@  export BUILD_LDFLAGS
 
 BUILD_LDFLAGS		?= "-Wl,-O1 -Wl,-z -Wl,origin"
 BUILD_LDFLAGS:BUILD_KERNEL_darwin ?= ""
+BUILD_LDFLAGS:BUILD_LIBC_mingw ?= "-Wl,--no-undefined -Wl,-O1"
 MACHINE_LDFLAGS		?= "-Wl,-O1"
 MACHINE_LDFLAGS:TARGET_KERNEL_darwin ?= ""
+MACHINE_LDFLAGS:TARGET_LIBC_mingw ?= "-Wl,--no-undefined -Wl,-O1"
 SDK_LDFLAGS		?= "-Wl,-O1"
 
 BUILD_LINK_HASH_STYLE	?= "gnu"