From bb7b668942494a361b04799d23946976ad623cb1 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Mon, 24 Feb 2014 17:18:12 +0100
Subject: add ld workaround for microblaze, too

---
 package/openssl/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'package/openssl')

diff --git a/package/openssl/Makefile b/package/openssl/Makefile
index b364b368f..027a74611 100644
--- a/package/openssl/Makefile
+++ b/package/openssl/Makefile
@@ -45,6 +45,10 @@ ifneq ($(ADK_PACKAGE_LIBOPENSSL_WITH_CRYPTODEV),)
 OPENSSL_OPTIONS+= -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
 endif
 
+ifeq ($(ADK_LINUX_MICROBLAZE),y)
+TARGET_CFLAGS:=		$(subst g3,g,$(TARGET_CFLAGS))
+endif
+
 ifeq ($(ADK_LINUX_X86_64),y)
 CONFIG:=		linux-embedded-x86_64
 TARGET_CFLAGS:=		$(subst g3,g,$(TARGET_CFLAGS))
-- 
cgit v1.2.3