- Add CFLAGS and CXXFLAGS

OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=205
This commit is contained in:
Soc Virnyl Estela 2024-10-11 15:39:05 +00:00 committed by Git OBS Bridge
parent a4a63fcc8b
commit cfec4d1059
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 11 15:38:38 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
- Add CFLAGS and CXXFLAGS
-------------------------------------------------------------------
Fri Oct 11 15:37:06 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>

View File

@ -113,6 +113,8 @@ export V8_FROM_SOURCE=1
export CLANG_BASE_PATH=%{_prefix}
export CC=clang
export CXX=clang++
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
# https://www.chromium.org/developers/gn-build-configuration
export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true enable_nacl = false blink_symbol_level = 0 v8_symbol_level = 0"
%{cargo_build}