Projects
Multimedia
obs-studio
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 111
View file
obs-studio.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Jan 19 15:00:06 UTC 2024 - Hans-Peter Jansen <hp@urpla.net> + +- Explicitely set CFLAGS/CXXFLAGS for all targets + +------------------------------------------------------------------- Wed Jun 21 08:03:37 UTC 2023 - hpj@urpla.net - Update to version 29.1.3:
View file
obs-studio.spec
Changed
@@ -129,14 +129,15 @@ %build mkdir -p build && cd build # does not like cmake macro as it fails to link in math.h (-lma -# the compile flags for 15.{4,5} must be relaxed in order to compile obs-studio successfully +# the compile flags must be relaxed in order to compile obs-studio successfully +export CFLAGS="%{optflags} -Wno-error=type-limits -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-error=return-type -Wno-error=unused-but-set-variable -Wno-error=pointer-sign -Wno-error=reorder" +export CXXFLAGS="%{optflags} -Wno-error=type-limits -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-error=return-type -Wno-error=unused-but-set-variable -Wno-error=pointer-sign -Wno-error=reorder" + cmake \ -DCMAKE_CXX_STANDARD=17 \ -DCMAKE_INSTALL_PREFIX=/usr \ -%if 0%{?suse_version} == 1500 - -DCMAKE_C_FLAGS:STRING="$CFLAGS %{optflags} -Wno-error=type-limits -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-error=return-type -Wno-error=unused-but-set-variable -Wno-error=pointer-sign -Wno-error=reorder" \ - -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS %{optflags} -Wno-error=type-limits -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-error=return-type -Wno-error=unused-but-set-variable -Wno-error=pointer-sign -Wno-error=reorder" \ -%endif + -DCMAKE_C_FLAGS:STRING="$CFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \ -DUNIX_STRUCTURE=1 \ %if "%{_lib}" == "lib64" -DOBS_MULTIARCH_SUFFIX=64 \
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.