dev-util/mingw64-runtime - modify cpp execution
authorAlon Bar-Lev <alonbl@gentoo.org>
Sun, 7 Aug 2016 19:37:10 +0000 (22:37 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sun, 7 Aug 2016 19:40:26 +0000 (22:40 +0300)
hopefully will support more cases.

Bug: 590484

Package-Manager: portage-2.2.28

dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild

index 997eabf2955f8404a9f7d8cf0aac87ce2f41a2d0..67e224be076f7dc84f1c40d3bf323b12b42e9b30 100644 (file)
@@ -81,7 +81,7 @@ src_configure() {
                $(crt_use_with libraries libraries winpthreads,libmangle) \
                $(crt_use_with tools) \
                $(
-                       $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM /dev/null | grep -q __MINGW64__ \
+                       $(tc-getCPP ${CTARGET}) ${CPPFLAGS} -dM - < /dev/null | grep -q __MINGW64__ \
                                && echo --disable-lib32 --enable-lib64 \
                                || echo --enable-lib32 --disable-lib64
                )