From ca9ad927b3a81240ab28c219f8e880b4740a9434 Mon Sep 17 00:00:00 2001 From: Taeyun An Date: Sat, 24 Aug 2013 17:16:52 +0900 Subject: [PATCH] Correct the flaw for "nodebug" [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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/webkit2-efl.spec b/packaging/webkit2-efl.spec index 358a3d2..7dece77 100644 --- a/packaging/webkit2-efl.spec +++ b/packaging/webkit2-efl.spec @@ -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} -- 2.7.4