File: no-gnu%2B%2B-setting.patch

package info (click to toggle)
freesasa 2.1.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,740 kB
  • sloc: ansic: 11,281; cpp: 1,342; sh: 397; perl: 169; makefile: 119; yacc: 87; lex: 54
file content (31 lines) | stat: -rw-r--r-- 899 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Use default -std setting.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/m4/ax_cxx_compile_stdcxx.m4
+++ b/m4/ax_cxx_compile_stdcxx.m4
@@ -70,15 +70,15 @@
       AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch,
                      $cachevar,
         [ac_save_CXX="$CXX"
-         CXX="$CXX $switch"
+         CXX="$CXX"
          AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
           [eval $cachevar=yes],
           [eval $cachevar=no])
          CXX="$ac_save_CXX"])
       if eval test x\$$cachevar = xyes; then
-        CXX="$CXX $switch"
+        CXX="$CXX"
         if test -n "$CXXCPP" ; then
-          CXXCPP="$CXXCPP $switch"
+          CXXCPP="$CXXCPP"
         fi
         ac_success=yes
         break
@@ -948,4 +948,4 @@
 
 #endif  // __cplusplus < 201703L
 
-]])
\ No newline at end of file
+]])