[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
%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}