Addition of build flag "-Wl,-Bsymbolic-functions" for launching performance 80/35680/1
authortaeyoon <taeyoon0.lee@samsung.com>
Mon, 23 Feb 2015 08:58:27 +0000 (17:58 +0900)
committertaeyoon <taeyoon0.lee@samsung.com>
Mon, 23 Feb 2015 09:00:28 +0000 (18:00 +0900)
Change-Id: I95b0ba74c12e47df9a51fba745a2a789791eef03

packaging/dali.spec

index 617e9af..9282da5 100644 (file)
@@ -57,7 +57,7 @@ Integration development package for the OpenGLES Canvas - headers for integratin
 %build
 PREFIX="/usr"
 CXXFLAGS+=" -Wall -g -Os -DNDEBUG -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections "
-LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections -lgcc_s -lgcc -lpthread"
+LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections -lgcc_s -lgcc -lpthread -Wl,-Bsymbolic-functions "
 
 %ifarch %{arm}
 CXXFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"