summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-11-15 09:48:17 -0800
committerChih-Hung Hsieh <chh@google.com>2016-11-15 09:48:17 -0800
commitb4e247271a45f3e363c2f9afe2977038cc521f78 (patch)
tree105862ecaab9e7027bb67873529290cc3bd2fef4
parentf2eef891456126617e25fcb754e28eada3b21a55 (diff)
downloadfio-b4e247271a45f3e363c2f9afe2977038cc521f78.tar.gz
Move -rdynamic to LDFLAGS.
Some compiler tools like clang-tidy gives warning on -rdynamic flags in compilation mode. Test: build with WITH_TIDY=1 Change-Id: Ibabb94c7adb0f99fdfee6027b0dabb0c618e2411
-rw-r--r--Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 29dd2819..35a6973b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -95,13 +95,15 @@ LOCAL_CFLAGS += -DFIO_VERSION="\"fio-2.2.6\"" \
-ffast-math \
-fno-omit-frame-pointer \
-g \
- -rdynamic \
-std=gnu99 \
-Wno-pointer-arith \
-Wno-sign-compare \
-Wno-unused-parameter \
-Wno-unused-variable \
+LOCAL_LDFLAGS += \
+ -rdynamic \
+
LOCAL_CFLAGS_64 += \
-DCONFIG_LINUX_SPLICE \