summaryrefslogtreecommitdiff
path: root/payloads/libpayload/util/xcompile
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/util/xcompile')
-rw-r--r--payloads/libpayload/util/xcompile/xcompile2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/util/xcompile/xcompile b/payloads/libpayload/util/xcompile/xcompile
index 62e7a38c3f..58f086f235 100644
--- a/payloads/libpayload/util/xcompile/xcompile
+++ b/payloads/libpayload/util/xcompile/xcompile
@@ -41,7 +41,7 @@ testcc() {
local tmp_o="$TMPFILE.o"
rm -f "$tmp_c" "$tmp_o"
echo "_start(void) {}" >"$tmp_c"
- "$1" -nostdlib -Werror $2 "$tmp_c" -o "$tmp_o" >/dev/null 2>&1
+ "$1" -nostdinc -nostdlib -Werror $2 "$tmp_c" -o "$tmp_o" >/dev/null 2>&1
}
testas() {