Re: [Mingw-w64-public] [PATCH 1/4] math: Deduplicate the list of x86 specific math source files

2017-08-08 Thread JonY via Mingw-w64-public
On 08/08/2017 11:02 AM, Martin Storsjö wrote:
> Both src_libmingwex32 and src_libmingwex64 had the exact same list
> of files; share this list in a common variable.

Thanks for reorganizing the files, I don't have any objections. You can
go ahead for master if x86 builds don't break.



signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] [PATCH 1/4] math: Deduplicate the list of x86 specific math source files

2017-08-08 Thread Martin Storsjö
Both src_libmingwex32 and src_libmingwex64 had the exact same list
of files; share this list in a common variable.
---
 mingw-w64-crt/Makefile.am | 24 +---
 1 file changed, 5 insertions(+), 19 deletions(-)

diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index fb6c4da..a555800 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -296,25 +296,8 @@ src_libmingwex=\
   stdio/vscanf.c   stdio/vsnprintf.c stdio/vsnprintf_s.c  
stdio/vsnwprintf.cstdio/vsscanf.c \
   stdio/vswscanf.c stdio/vwscanf.c   stdio/wtoll.c
stdio/mingw_asprintf.cstdio/mingw_vasprintf.c
 
-# these only go into the 64 bit version:
-src_libmingwex64=\
-  math/acosf.c  math/acosh.c  math/acosl.c 
 math/acoshf.c math/acoshl.c \
-  math/asinf.c  math/asinh.c  math/asinl.c 
 math/asinhf.c math/asinhl.c \
-  math/atan2f.c   math/atan2.c math/atan2l.c math/atanf.c  
math/atanh.c  math/atanl.c  \
-  math/atanhf.c math/atanhl.c math/cos.c   
 math/cosf.c   math/cosl.c   \
-  math/cosl_internal.S  math/cossin.c math/exp.c   
 math/expl.c   math/exp2.S   \
-  math/exp2f.S  math/exp2l.S  math/expm1.c 
 math/expm1f.c math/expm1l.c \
-  math/fmod.c   math/fmodf.c  math/fmodl.c 
 math/frexpl.S math/fucom.c  \
-  math/ilogb.S  math/ilogbf.S math/ilogbl.S
 math/internal_logl.S  math/ldexp.c  \
-  math/ldexpl.c math/log.cmath/log10l.S
 math/log1p.S  math/log1pf.S \
-  math/log1pl.S math/log2.S   math/log2f.S 
 math/log2l.S  math/logb.c   \
-  math/logbf.c  math/logbl.c  math/logl.c  
 math/pow.cmath/powl.c   \
-  math/remainder.S  math/remainderf.S math/remainderl.S
 math/remquo.S math/remquof.S\
-  math/remquol.Smath/scalbn.S math/scalbnf.S   
 math/scalbnl.Smath/sin.c\
-  math/sinf.c   math/sinl.c   math/sinl_internal.S 
 math/tanf.c   math/tanl.S
-
-# these only go into the 32 bit version:
-src_libmingwex32=\
+# these go into both 32 and 64 bit x86 versions:
+src_libmingwex_x86=\
   math/acosf.c  math/acosh.c  math/acosl.c 
 math/acoshf.c math/acoshl.c \
   math/asinf.c  math/asinh.c  math/asinl.c 
 math/asinhf.c math/asinhl.c \
   math/atan2f.c math/atan2.c  math/atan2l.c 
math/atanf.c  math/atanh.c  math/atanl.c  \
@@ -330,6 +313,9 @@ src_libmingwex32=\
   math/remquol.Smath/scalbn.S math/scalbnf.S   
 math/scalbnl.Smath/sin.c\
   math/sinf.c   math/sinl.c   math/sinl_internal.S 
 math/tanf.c   math/tanl.S
 
+src_libmingwex32=$(src_libmingwex_x86)
+src_libmingwex64=$(src_libmingwex_x86)
+
 # these only go into the ARM32 version:
 if ENABLE_SOFTMATH
 src_libmingwexarm32=\
-- 
2.7.4


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public