summaryrefslogtreecommitdiff
path: root/external/nss/nss.fix-freebl-add-lcc-support.patch.1
blob: 3e3c06327ddeccc780ebfeb5a18d8bfe54e65e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- b/nss/lib/freebl/Makefile
+++ a/nss/lib/freebl/Makefile
@@ -495,7 +495,7 @@
 ifdef USE_64
 # no __int128 at least up to lcc 1.23 (pretending to be gcc5)
 # NB: CC_NAME is not defined here
-ifneq ($(shell $(CC) -? 2>&1 >/dev/null | sed -e 's/:.*//;1q'),lcc)
+ifneq ($(shell $(CC) -? 2>&1 >/dev/null </dev/null | sed -e 's/:.*//;1q'),lcc)
     ifdef CC_IS_CLANG
             HAVE_INT128_SUPPORT = 1
             DEFINES += -DHAVE_INT128_SUPPORT