build : YAGL module is excluded from the build on MacOS in temparary. 93/10393/1
authorjinhyung.jo <jinhyung.jo@samsung.com>
Tue, 1 Oct 2013 09:16:45 +0000 (18:16 +0900)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Tue, 1 Oct 2013 09:16:45 +0000 (18:16 +0900)
This modification is temporary.
The reason is that compilation error occurs when using the clang compiler.
It caused by __thread attribute in yagl_thread, clang does not support the attribute in MacOS.

Change-Id: Id4fd6c8f0ad33e98d178a3cce5a954601e35142b
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
tizen/emulator_configure.sh

index 5c60f92..b57e296 100755 (executable)
@@ -51,7 +51,11 @@ yagl_enable() {
     YAGL_EN="no"
   ;;
   1|yes|enable)
-    YAGL_EN="yes"
+    if [ "$targetos" != "Darwin" ] ; then
+      YAGL_EN="yes"
+    else
+      YAGL_EN="no"
+    fi
   ;;
   *)
     usage
@@ -66,7 +70,11 @@ yagl_stats_enable() {
     YAGL_STATS_EN="no"
   ;;
   1|yes|enable)
-    YAGL_STATS_EN="yes"
+    if [ "$targetos" != "Darwin" ] ; then
+      YAGL_STATS_EN="yes"
+    else
+      YAGL_STATS_EN="no"
+    fi
   ;;
   *)
     usage