mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 17:42:45 +00:00
set another optflags
This commit is contained in:
parent
1afbee7448
commit
61ccdee39d
2 changed files with 3 additions and 1 deletions
|
@ -1 +0,0 @@
|
|||
addFilter("E: debuginfo-without-sources")
|
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue