mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-24 01:52:45 +00:00
Move defining use_custom_libcxx to %build
This commit is contained in:
parent
b0e5c0946b
commit
114270ed1c
1 changed files with 2 additions and 1 deletions
|
@ -352,6 +352,8 @@ cmp $FILE $FILE.orig && exit 1
|
||||||
mkdir -p third_party/node/linux/node-linux-x64/bin
|
mkdir -p third_party/node/linux/node-linux-x64/bin
|
||||||
ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
|
ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
# If system glibc is too old, use Chromium's built-in libc++, otherwise use system libc++.
|
# If system glibc is too old, use Chromium's built-in libc++, otherwise use system libc++.
|
||||||
# Shell does not or may not understand not integer values correctly,
|
# Shell does not or may not understand not integer values correctly,
|
||||||
# so remove the dot by sed to make the value of the glibc version an integer.
|
# so remove the dot by sed to make the value of the glibc version an integer.
|
||||||
|
@ -370,7 +372,6 @@ echo "DEBUG: use_custom_libcxx = ${use_custom_libcxx}"
|
||||||
%define use_custom_libcxx_macro %(cat %{use_custom_libcxx_macro_tmpfile})
|
%define use_custom_libcxx_macro %(cat %{use_custom_libcxx_macro_tmpfile})
|
||||||
rm -fv %{use_custom_libcxx_macro_tmpfile}
|
rm -fv %{use_custom_libcxx_macro_tmpfile}
|
||||||
|
|
||||||
%build
|
|
||||||
%define use_gold true
|
%define use_gold true
|
||||||
%if 0%{clang}
|
%if 0%{clang}
|
||||||
%define is_clang true
|
%define is_clang true
|
||||||
|
|
Loading…
Add table
Reference in a new issue