Removal of a 'sec_build_binary_debug_enable' part in spec file 06/33906/1
authortaeyoon <taeyoon0.lee@samsung.com>
Fri, 16 Jan 2015 10:09:38 +0000 (19:09 +0900)
committertaeyoon <taeyoon0.lee@samsung.com>
Fri, 16 Jan 2015 10:12:13 +0000 (19:12 +0900)
  - 'sec_build_binary_debug_enable and -DTIZEN_DEBUG_ENABLE' are not used.

Change-Id: I6237414a6f0d6804ed639f09eaf41ededc7f5fd1

packaging/dali.spec

index f919c60..c675e0e 100644 (file)
@@ -59,12 +59,6 @@ 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"
 
-%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}
 CXXFLAGS+=" -D_ARCH_ARM_ -mfpu=neon"
 %endif