add -Wl,--as-needed to global cflags (all the profiles) 73/61073/2
authorDongkyun, Son <dongkyun.s@samsung.com>
Fri, 4 Mar 2016 00:03:29 +0000 (09:03 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Thu, 10 Mar 2016 04:48:28 +0000 (20:48 -0800)
commit5ac91c09dc5e332cd8fd8eaaea33d3c61d373f89
tree657c2a28685ddd6138111701a8ec8d38fbfd14c6
parent85409470de39ea5ecf28da41bfcfc4be4afe6a09
add -Wl,--as-needed to global cflags (all the profiles)

‘--as-needed’ is a linker option. It affects linking of dynamic
libraries which follow the ‘—as-needed’ flag on the linker command
line. Normally, the linker will generate a runtime dependency against
all dynamic libraries mentioned on command line regardless of whether
libraries are actually needed or not. ‘--as-needed’ option causes
dependency to be only emitted for a library that at that point in the
link.

Change-Id: Id7306902cfcb495825b9f708b55364479a8fb545
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
Tizen:Base/_config