Skip to content

Commit

Permalink
net-mgmt/netdata: Fix ML option
Browse files Browse the repository at this point in the history
Fix option that accidently broke during rebase

PR:		272279
Reported by:	Trond Endrestol <Trond.Endrestol@ximalas.info>
Tested by:	Trond Endrestol <Trond.Endrestol@ximalas.info>
Reviewed by:	Namkhai B <me@forkbomb9.ch> (private email)
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Jul 12, 2023
1 parent 30ba18e commit 17d8193
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions net-mgmt/netdata/files/patch-Makefile.am
@@ -0,0 +1,29 @@
--- Makefile.am.orig 2023-06-17 06:42:31 UTC
+++ Makefile.am
@@ -39,7 +39,6 @@ EXTRA_DIST = \
build/m4/ax_c__generic.m4 \
build/m4/ax_compiler_vendor.m4 \
build/m4/ax_cxx_compile_stdcxx.m4 \
- ml/dlib \
README.md \
LICENSE \
REDISTRIBUTED.md \
@@ -256,16 +255,15 @@ ML_FILES += \
ml/ad_charts.h \
ml/ad_charts.cc \
ml/Config.cc \
- ml/dlib/dlib/all/source.cpp \
ml/ml-private.h \
ml/ml.cc \
$(NULL)

# Disable warnings from dlib library
-ml/dlib/dlib/all/source.$(OBJEXT) : CXXFLAGS += -Wno-sign-compare -Wno-type-limits -Wno-aggressive-loop-optimizations -Wno-stringop-overflow -Wno-psabi
+# ml/dlib/dlib/all/source.$(OBJEXT) : CXXFLAGS += -Wno-sign-compare -Wno-type-limits -Wno-aggressive-loop-optimizations -Wno-stringop-overflow -Wno-psabi

# Disable ml warnings
-ml/ml.$(OBJEXT) : CXXFLAGS += -Wno-psabi
+# ml/ml.$(OBJEXT) : CXXFLAGS += -Wno-psabi

endif

0 comments on commit 17d8193

Please sign in to comment.