Skip to content

Commit e2356ae

Browse files
committed
fixup! build.sh: deduplicate cc -dM -E output and automate __BLST_NO_ASM__.
1 parent 16603ee commit e2356ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "x$CROSS_COMPILE" = "x" ]; then
6767
else { print $1 } }'`
6868
fi
6969

70-
predefs=`(${CC} ${CFLAGS} -dM -E -x c /dev/null) 2>/dev/null`
70+
predefs=`(${CC} ${CFLAGS} -dM -E -x c /dev/null || true) 2>/dev/null`
7171

7272
if [ -z "${CROSS_COMPILE}${AR}" ] && echo ${predefs} | grep -q clang; then
7373
search_dirs=`${CC} -print-search-dirs | awk -F= '/^programs:/{print$2}' | \

0 commit comments

Comments
 (0)