From 722da84d707504fe6ecdce8499436c249a2e7929 Mon Sep 17 00:00:00 2001 From: GiWoong Kim Date: Fri, 29 Aug 2014 19:46:02 +0900 Subject: [PATCH] emulator: remove --export-dynamic from global configure Apply --export-dynamic for Linux. Apply -export_dynamic for MacOS. Change-Id: I066a773bbbe30e5d63c83e038eaf0a76e62e5c93 Signed-off-by: GiWoong Kim Signed-off-by: SeokYeon Hwang --- configure | 2 +- tizen/emulator_configure.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 5638e874a5..aa9212b709 100755 --- a/configure +++ b/configure @@ -415,7 +415,7 @@ QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLA QEMU_INCLUDES="-I. -I\$(SRC_PATH) -I\$(SRC_PATH)/include" if test "$debug_info" = "yes"; then CFLAGS="-g $CFLAGS" - LDFLAGS="-g -Wl,--export-dynamic $LDFLAGS" + LDFLAGS="-g $LDFLAGS" fi # make source path absolute diff --git a/tizen/emulator_configure.sh b/tizen/emulator_configure.sh index fcd6c9bcf6..c0efc6b08c 100755 --- a/tizen/emulator_configure.sh +++ b/tizen/emulator_configure.sh @@ -199,6 +199,7 @@ echo "##### QEMU configuring for emulator" echo "##### QEMU configure append:" $CONFIGURE_APPEND exec ./configure \ --enable-werror \ + --extra-ldflags=-Wl,--export-dynamic \ --audio-drv-list=alsa \ --disable-vnc \ --disable-pie \ @@ -233,6 +234,7 @@ echo "##### QEMU configure append:" $CONFIGURE_APPEND ./configure \ --enable-werror \ --extra-cflags=-mmacosx-version-min=10.4 \ + --extra-ldflags=-Wl,-export_dynamic \ --audio-drv-list=coreaudio \ --enable-shm \ --enable-hax \ -- 2.34.1