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