jer         15/05/31 18:09:03

  Added:                wireshark-1.99.6-gcc_option.patch
  Log:
  Version bump.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  
net-analyzer/wireshark/files/wireshark-1.99.6-gcc_option.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/files/wireshark-1.99.6-gcc_option.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/files/wireshark-1.99.6-gcc_option.patch?rev=1.1&content-type=text/plain

Index: wireshark-1.99.6-gcc_option.patch
===================================================================
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1735,15 +1735,15 @@
     CXXFLAGS_saved="$CXXFLAGS"
     if expr "x$GCC_OPTION" : "x-W.*" >/dev/null
     then
-      CXXFLAGS="$CXXFLAGS $ac_wireshark_unknown_warning_option_error 
$ac_wireshark_non_cxx_warning_option_error $GCC_OPTION"
+      CXXFLAGS="$GCC_OPTION $CXXFLAGS 
$ac_wireshark_unknown_warning_option_error 
$ac_wireshark_non_cxx_warning_option_error"
     elif expr "x$GCC_OPTION" : "x-f.*" >/dev/null
     then
-      CXXFLAGS="$CXXFLAGS -Werror $GCC_OPTION"
+      CXXFLAGS="$GCC_OPTION $CXXFLAGS -Werror"
     elif expr "x$GCC_OPTION" : "x-m.*" >/dev/null
     then
-      CXXFLAGS="$CXXFLAGS -Werror $GCC_OPTION"
+      CXXFLAGS="$GCC_OPTION $CXXFLAGS -Werror"
     else
-      CXXFLAGS="$CXXFLAGS $GCC_OPTION"
+      CXXFLAGS="$GCC_OPTION $CXXFLAGS"
     fi
     AC_LANG_PUSH([C++])
     AC_COMPILE_IFELSE(
@@ -1773,7 +1773,7 @@
               # added them, by setting CXXFLAGS to the saved value plus
               # just the new option.
               #
-              CXXFLAGS="$CXXFLAGS_saved $GCC_OPTION"
+              CXXFLAGS="$GCC_OPTION $CXXFLAGS_saved"
             ],
             [
               AC_MSG_RESULT(yes)
@@ -1785,7 +1785,7 @@
           # added them, by setting CXXFLAGS to the saved value plus
           # just the new option.
           #
-          CXXFLAGS="$CXXFLAGS_saved $GCC_OPTION"
+          CXXFLAGS="$GCC_OPTION $CXXFLAGS_saved"
         fi
       ],
       [




Reply via email to