Update the spec configuration.
authordaemyung jang <dm86.jang@samsung.com>
Thu, 10 Apr 2014 04:33:27 +0000 (13:33 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 16 Apr 2014 11:02:19 +0000 (12:02 +0100)
[Issue#] N/A
[Problem] Not build.
[Cause] When the system make the user binary,
        the debug states are skipped.
[Solution] Update spec configuration.

packaging/dali-adaptor.spec

index 7a2967bf005860324f96d47bcb6583fa7b5ce926..dc9a79e971d7766a984c45a00b4cfaeae978379d 100644 (file)
@@ -111,10 +111,10 @@ PREFIX+="/usr"
 CXXFLAGS+=" -Wall -g -O2 -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections "
 LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections "
 
-%if 0%{?tizen_build_binary_release_type_eng}
-export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
-export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
-export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
+%if 0%{?sec_build_binary_debug_enable}
+export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
+export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
 %endif
 
 %ifarch %{arm}