Thanks, applied as c3361e082f90ca37f6572a444c670eed08b6d266. Michael
[sent from post-receive hook] On Tue, 30 Mar 2021 20:08:09 +0200, Marco Felsch <[email protected]> wrote: > To enable 'Release' builds with logging support we need to override the > LOG_DISABLED define else logging is only enabled for 'Debug' builds. > > Signed-off-by: Marco Felsch <[email protected]> > Message-Id: <[email protected]> > Signed-off-by: Michael Olbrich <[email protected]> > > diff --git a/rules/wpewebkit.in b/rules/wpewebkit.in > index f123f4dad343..1235e2502047 100644 > --- a/rules/wpewebkit.in > +++ b/rules/wpewebkit.in > @@ -90,4 +90,11 @@ config WPEWEBKIT_AUDIO > bool > prompt "audio support" > > +config WPEWEBKIT_ENABLE_LOGGING > + bool > + prompt "enable logging support" > + help > + Enable this option if you want to get some more logging information. > For more > + information check https://trac.webkit.org/wiki/WebKitGTK/Debugging. > + > endif > diff --git a/rules/wpewebkit.make b/rules/wpewebkit.make > index 9e41e322239c..141d83a71085 100644 > --- a/rules/wpewebkit.make > +++ b/rules/wpewebkit.make > @@ -76,6 +76,10 @@ WPEWEBKIT_CONF_OPT += \ > -DENABLE_REMOTE_INSPECTOR=ON \ > -DUSE_SYSTEM_MALLOC=$(WPEWEBKIT_SYSTEM_MALLOC) > > +ifdef PTXCONF_WPEWEBKIT_ENABLE_LOGGING > +WPEWEBKIT_CXXFLAGS := -DLOG_DISABLED=0 > +endif > + > # > ---------------------------------------------------------------------------- > # Target-Install > # > ---------------------------------------------------------------------------- _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
