summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/openssl/Makefile4
1 files changed, 4 insertions, 0 deletions
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))