diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/tvmet/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/tvmet/files')
-rw-r--r-- | dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch b/dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch new file mode 100644 index 000000000000..2749c9131349 --- /dev/null +++ b/dev-libs/tvmet/files/tvmet-1.7.2-respect-cxxflags.patch @@ -0,0 +1,42 @@ +diff -ur tvmet-1.7.2-orig/configure tvmet-1.7.2/configure +--- tvmet-1.7.2-orig/configure 2009-04-19 16:27:20.000000000 -0400 ++++ tvmet-1.7.2/configure 2009-04-19 16:48:52.000000000 -0400 +@@ -2659,11 +2659,9 @@ + ;; + *:*) # Simple initialization syntax + CXX=`echo "$cxxwith" | sed -n -e 's/.*:\(.*\)/\1/p'` +- CXXFLAGS="" + ;; + *) # Default values + CXX="g++" +- CXXFLAGS="" + ;; + esac + CXX_OPTIMIZE_FLAGS="-DTVMET_OPTIMIZE -O2 -finline-limit=5000 -ftemplate-depth-200 -fomit-frame-pointer" +@@ -3704,7 +3702,6 @@ + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +- CXXFLAGS="" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -3799,15 +3796,9 @@ + CXXFLAGS=$ac_save_CXXFLAGS + elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then +- CXXFLAGS="-g -O2" ++ CXXFLAGS+="$CXXFLAGS -g -O2" + else +- CXXFLAGS="-g" +- fi +-else +- if test "$GXX" = yes; then +- CXXFLAGS="-O2" +- else +- CXXFLAGS= ++ CXXFLAGS+="$CXXFLAGS -g" + fi + fi + ac_ext=cpp + |