From 0d909107c3616f310f4792734bedca11c16db457 Mon Sep 17 00:00:00 2001 From: zilongshanren Date: Fri, 10 Feb 2017 14:06:01 +0800 Subject: [PATCH] refactoring tizen x86 build script --- contrib/src/main.mak | 1 + contrib/src/openssl/rules.mak | 1 + 2 files changed, 2 insertions(+) diff --git a/contrib/src/main.mak b/contrib/src/main.mak index 69fb286b..e4668b61 100644 --- a/contrib/src/main.mak +++ b/contrib/src/main.mak @@ -102,6 +102,7 @@ CXX := ${HOST}-g++ --sysroot=$(TIZEN_STUDIO_HOME)/platforms/tizen-$(TIZEN_SDK_VE else CC := ${HOST}-gcc --sysroot=$(TIZEN_STUDIO_HOME)/platforms/tizen-$(TIZEN_SDK_VERSION)/mobile/rootstraps/mobile-$(TIZEN_SDK_VERSION)-emulator.core CXX := ${HOST}-g++ --sysroot=$(TIZEN_STUDIO_HOME)/platforms/tizen-$(TIZEN_SDK_VERSION)/mobile/rootstraps/mobile-$(TIZEN_SDK_VERSION)-emulator.core +EXTRA_CFLAGS += -ldl -latomic endif endif diff --git a/contrib/src/openssl/rules.mak b/contrib/src/openssl/rules.mak index f6d4a169..9d5460b0 100644 --- a/contrib/src/openssl/rules.mak +++ b/contrib/src/openssl/rules.mak @@ -33,6 +33,7 @@ ifdef HAVE_TIZEN ifeq ($(MY_TARGET_ARCH),x86) OPENSSL_CONFIG_VARS=linux-elf OPENSSL_ARCH=-m32 +OPENSSL_EXTRA_CONFIG_2=no-async endif ifeq ($(MY_TARGET_ARCH),armv7) OPENSSL_CONFIG_VARS=linux-generic32