File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1490,15 +1490,15 @@ make_cflags_and_ldflags() {
1490
1490
fi
1491
1491
1492
1492
if [ $enable_debug -le 2 ]; then
1493
- cc_host_is_gcc=`basename "$cc_host" | grep "gcc" & >/dev/null`
1493
+ cc_host_is_gcc=`basename "$cc_host" | grep "gcc" 2 >/dev/null`
1494
1494
if [ -n "$cc_host_is_gcc" ]; then
1495
1495
# Define only when compiling with GCC. Some GLIBC versions use GNU
1496
1496
# extensions in a way that breaks build with at least ICC.
1497
1497
# This requires -O1 or more, so debug level 3 (-O0) is excluded.
1498
1498
CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"
1499
1499
fi
1500
1500
1501
- cc_build_is_gcc=`basename "$cc_build" | grep "gcc" & >/dev/null`
1501
+ cc_build_is_gcc=`basename "$cc_build" | grep "gcc" 2 >/dev/null`
1502
1502
if [ -n "$cc_build_is_gcc" ]; then
1503
1503
# Just add -O1 to the tools needed for building.
1504
1504
CFLAGS_BUILD="$CFLAGS_BUILD -D_FORTIFY_SOURCE=2 -O1"
You can’t perform that action at this time.
0 commit comments