projects
/
platform
/
framework
/
web
/
wrtjs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
947839d
)
Use system CC for compilation
sandbox/nmerinov/llvm
author
Nikolai Merinov
<n.merinov@samsung.com>
Mon, 11 Feb 2019 09:24:49 +0000
(12:24 +0300)
committer
Nikolai Merinov
<n.merinov@samsung.com>
Mon, 11 Feb 2019 09:24:49 +0000
(12:24 +0300)
packaging/wrtjs.spec
patch
|
blob
|
history
diff --git
a/packaging/wrtjs.spec
b/packaging/wrtjs.spec
index 8e9886db94c3253d5b5432503e95222e3c91b7a4..4f3280c5c53e736475e266735027ecc5d86f1087 100755
(executable)
--- a/
packaging/wrtjs.spec
+++ b/
packaging/wrtjs.spec
@@
-19,6
+19,10
@@
Web Runtime Engine based on Electron
%setup -q
%build
+sed -i -e 's|command = "gcc|command = "'"${CC:-gcc}"'|' \
+ -e 's|command = "c++|command = "'"${CXX:-g++}"'|' \
+ -e 's|command = "g++|command = "'"${CXX:-g++}"'|' \
+ BUILD.gn
%if "%{?tizen_profile_name}" != "tv"
%define _outdir $PWD/out
./build/tools/gn gen %{_outdir}