set another optflags

This commit is contained in:
Tigro 2014-11-20 18:47:51 +03:00
parent 1afbee7448
commit 61ccdee39d
2 changed files with 3 additions and 1 deletions

View file

@ -1 +0,0 @@
addFilter("E: debuginfo-without-sources")

View file

@ -105,6 +105,9 @@ sed -i.orig -e 's/getenv("CHROME_VERSION_EXTRA")/"%{product_vendor} %{product_ve
cmp $FILE $FILE.orig && exit 1
%build
PARSED_OPT_FLAGS=$(echo \'%{optflags} -D_GNU_SOURCE\' | sed "s/ /',/g" | sed "s/',/', '/g")
sed -i "s|'-O<(release_optimize)'|$PARSED_OPT_FLAGS|g" build/common.gypi
export GYP_GENERATORS='ninja'
./build/gyp_chromium build/all.gyp --depth=. \
-D linux_sandbox_path=%{_crdir}/chrome-sandbox \