Apply Eng/User mode definition
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 8 Aug 2013 02:42:04 +0000 (11:42 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 8 Aug 2013 02:42:04 +0000 (11:42 +0900)
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Ic5ffd61c4b7f9a75fecd0a1a33ec49e107ddcd12

packaging/liblivebox.spec

index f92290f..50f289d 100644 (file)
@@ -27,6 +27,11 @@ Livebox development library (dev)
 %setup -q
 
 %build
+%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"
+%endif
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
 make %{?jobs:-j%jobs}