- use -O0 for debugging like everywhere (better experience)

OBS-URL: https://build.opensuse.org/package/show/graphics/libjpeg-turbo?expand=0&rev=96
This commit is contained in:
2019-03-27 06:47:52 +00:00
committed by Git OBS Bridge
parent b61c1b9bd4
commit 5f700723e3
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 27 06:46:43 UTC 2019 - pgajdos@suse.com
- use -O0 for debugging like everywhere (better experience)
-------------------------------------------------------------------
Wed Mar 13 12:02:57 UTC 2019 - pgajdos@suse.com

View File

@@ -113,7 +113,7 @@ MYLDFLAGS="$MYLDFLAGS -lasan"
MYCFLAGS="$MYCFLAGS -fsanitize=address"
%endif
%if %{debug_build}
MYCFLAGS="$MYCFLAGS -Og -g"
MYCFLAGS="$MYCFLAGS -O0 -g"
%endif
%cmake \
%if %{debug_build} || %{asan_build}