aboutsummaryrefslogtreecommitdiffstats
path: root/macosx-support-lib-patches/spandsp-configure-patch
blob: 5a898f993ef163a7a00eb2f2f060b6e417782cdc (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
*** configure.dist	2014-06-04 07:28:14.000000000 -0700
--- configure	2017-08-07 00:16:39.000000000 -0700
***************
*** 19658,19664 ****
  
  case "${ax_cv_c_compiler_vendor}" in
  gnu)
!     COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
      if test "$enable_avx" = "yes" ; then
          COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS"
      fi
--- 19658,19664 ----
  
  case "${ax_cv_c_compiler_vendor}" in
  gnu)
!     COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
      if test "$enable_avx" = "yes" ; then
          COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS"
      fi
***************
*** 19733,19739 ****
  
      ;;
  intel)
!     COMP_VENDOR_CFLAGS="-std=c99 -D_POSIX_C_SOURCE=2 -D_GNU_SOURCE=1 -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
      if test "$enable_avx" = "yes" ; then
          COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS"
      fi
--- 19733,19739 ----
  
      ;;
  intel)
!     COMP_VENDOR_CFLAGS="-std=c99 -D_POSIX_C_SOURCE=2 -D_GNU_SOURCE=1 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
      if test "$enable_avx" = "yes" ; then
          COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS"
      fi
***************
*** 19767,19773 ****
      COMP_VENDOR_LDFLAGS=
      ;;
  *)
!     COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
      COMP_VENDOR_LDFLAGS=
      ;;
  esac
--- 19767,19773 ----
      COMP_VENDOR_LDFLAGS=
      ;;
  *)
!     COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
      COMP_VENDOR_LDFLAGS=
      ;;
  esac