Blame 0002-Remove-upstreams-flags.patch

564204d
From 0851d7f54916d63a660aea9cce670b426b07c170 Mon Sep 17 00:00:00 2001
564204d
From: "Ankur Sinha (Ankur Sinha Gmail)" <sanjay.ankur@gmail.com>
564204d
Date: Sun, 13 Oct 2019 16:01:36 +0100
564204d
Subject: [PATCH 2/3] Remove upstreams flags
564204d
564204d
---
564204d
 configure.ac | 16 ----------------
564204d
 1 file changed, 16 deletions(-)
564204d
564204d
diff --git a/configure.ac b/configure.ac
564204d
index 8766ef8d..b25a478e 100644
564204d
--- a/configure.ac
564204d
+++ b/configure.ac
564204d
@@ -41,9 +41,6 @@ PKG_INSTALLDIR
564204d
 
564204d
 AX_CXX_COMPILE_STDCXX_17([ext],[mandatory])
564204d
 
564204d
-dnl turn on warnings
564204d
-[CXXFLAGS="-Wall -Wextra -ftemplate-backtrace-limit=0 ${CXXFLAGS}"]
564204d
-
564204d
 dnl Checks for options
564204d
 
564204d
 dnl Turn debugging on or off
564204d
@@ -62,19 +59,6 @@ AC_ARG_ENABLE([debug],
564204d
               [CPPFLAGS="-DNDEBUG ${CPPFLAGS}"]
564204d
               [AC_MSG_RESULT(no)])
564204d
 
564204d
-dnl disable deprecation warning, to silence some harmless BGL-related warnings
564204d
-[CXXFLAGS="-Wno-deprecated ${CXXFLAGS}"]
564204d
-
564204d
-dnl set default visibility
564204d
-[CXXFLAGS="-fvisibility=default -fvisibility-inlines-hidden ${CXXFLAGS}"]
564204d
-
564204d
-dnl set default optimizations
564204d
-[CXXFLAGS="-O3 ${CXXFLAGS}"]
564204d
-
564204d
-dnl Python 2 compatibility
564204d
-[CXXFLAGS="${CXXFLAGS} -Wno-register"]
564204d
-
564204d
-
564204d
 dnl OpenMP
564204d
 AC_DEFINE([OPENMP_MIN_THRESH], 300, [default minimum number of vertices for parallel loops])
564204d
 AC_MSG_CHECKING(whether to enable parallel algorithms with openmp)
564204d
-- 
564204d
2.23.0
564204d