Correct the flaw for "nodebug"
authorTaeyun An <ty.an@samsung.com>
Sat, 28 Sep 2013 06:53:19 +0000 (15:53 +0900)
committerTaeyun An <ty.an@samsung.com>
Sat, 28 Sep 2013 06:54:41 +0000 (15:54 +0900)
[Title] Correct the flaw for "nodebug"
[Issue#] N/A
[Problem] "nodebug" option is not working
[Cause] last "g" option is not removed
[Solution] remove all "g" option

Change-Id: Ie93d30152db5e67bedfd4fe9084526a8da13e8c7

packaging/webkit2-efl.spec

index f8c1bb6..32c06a5 100644 (file)
@@ -88,8 +88,8 @@ export CXXFLAGS="$(echo $CXXFLAGS | sed 's/-Wl,--as-needed//g')"
 %endif
 
 %if 0%{?nodebug}
-CFLAGS=$(echo $CFLAGS | sed 's/ -g / /g')
-CXXFLAGS=$(echo $CXXFLAGS | sed 's/ -g / /g')
+CFLAGS=$(echo $CFLAGS " " | sed 's/ -g / /g')
+CXXFLAGS=$(echo $CXXFLAGS " " | sed 's/ -g / /g')
 %endif
 
 %ifarch %{arm}