Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
element-desktop
no-walrus-operator.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-walrus-operator.patch of Package element-desktop
--- foo/node_modules/node-gyp/gyp/pylib/gyp/common.py 2024-09-26 12:47:30.529999000 +0200 +++ ./common.py 2024-09-26 22:52:44.247875969 +0200 @@ -432,13 +432,17 @@ def replace_sep(s): return s.replace(os.sep, "/") if os.sep != "/" else s - if CC := os.environ.get("CC_target") or os.environ.get("CC"): + CC = os.environ.get("CC_target") or os.environ.get("CC") + CXX = os.environ.get("CXX_target") or os.environ.get("CXX") + CFLAGS = os.environ.get("CFLAGS") + CXXFLAGS = os.environ.get("CXXFLAGS") + if CC: cmd += shlex.split(replace_sep(CC)) - if CFLAGS := os.environ.get("CFLAGS"): + if CFLAGS: cmd += shlex.split(replace_sep(CFLAGS)) - elif CXX := os.environ.get("CXX_target") or os.environ.get("CXX"): + elif CXX: cmd += shlex.split(replace_sep(CXX)) - if CXXFLAGS := os.environ.get("CXXFLAGS"): + if CXXFLAGS: cmd += shlex.split(replace_sep(CXXFLAGS)) else: return {}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor