Correct the flaw for "nodebug"
authorTaeyun An <ty.an@samsung.com>
Sat, 24 Aug 2013 08:16:52 +0000 (17:16 +0900)
committerTaeyun An <ty.an@samsung.com>
Sat, 24 Aug 2013 08:21:33 +0000 (17:21 +0900)
[Title] Correct the flaw for "nodebug"
[Issue#] N/A
[Problem] "nodebug" option is not working
[Cause] all "g" option is not removed
[Solution] remove all "g" option

Change-Id: I485da77df3882906e401d4dc0e3a40b3a9cdc595

packaging/webkit2-efl.spec

index 358a3d2..7dece77 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 / /')
-CXXFLAGS=$(echo $CXXFLAGS | sed 's/ -g / /')
+CFLAGS=$(echo $CFLAGS | sed 's/ -g / /g')
+CXXFLAGS=$(echo $CXXFLAGS | sed 's/ -g / /g')
 %endif
 
 %ifarch %{arm}