summaryrefslogtreecommitdiff
path: root/debian/patches/kfreebsd-decimal-float.diff
blob: 4f87bca84e9c740f6a5eaffb3c6826cdb98ffe92 (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
# DP: Enable decimal float support on kfreebsd-amd64

--- a/src/gcc/configure.ac
+++ b/src/gcc/configure.ac
@@ -839,6 +839,7 @@ AC_ARG_ENABLE(__cxa_atexit,
 [], [])
 
 # Enable C extension for decimal float if target supports it.
+# touch the file, adding decimal support for kfreebsd-amd64 in config/dfp.m4
 GCC_AC_ENABLE_DECIMAL_FLOAT([$target])
 
 dfp=`if test $enable_decimal_float != no; then echo 1; else echo 0; fi`
--- a/src/libdecnumber/configure.ac
+++ b/src/libdecnumber/configure.ac
@@ -76,6 +76,7 @@ AC_CANONICAL_TARGET
 
 # Default decimal format
 # If you change the defaults here, be sure to change them in the GCC directory also
+# touch the file, adding decimal support for kfreebsd-amd64 in config/dfp.m4
 AC_MSG_CHECKING([for decimal floating point])
 
 GCC_AC_ENABLE_DECIMAL_FLOAT([$target])
--- a/src/libgcc/configure.ac
+++ b/src/libgcc/configure.ac
@@ -211,6 +211,7 @@ AC_CHECK_HEADERS(inttypes.h stdint.h std
 AC_HEADER_STDC
 
 # Check for decimal float support.
+# touch the file, adding decimal support for kfreebsd-amd64 in config/dfp.m4
 AC_CACHE_CHECK([whether decimal floating point is supported], [libgcc_cv_dfp],
 	       [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #include <fenv.h>