From c5247ac5055e2813f2fb4cfb1a8512e95ae000ce Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Sun, 22 Mar 2020 22:18:06 +0000 Subject: [PATCH] Use a GCC-compatile compiler flag in files.xlp Seems like GCC doesn't like -Qunused-arguments, so use -Wno-unused-command-line-argument, which is supported by both GCC and Clang. --- sys/mips/nlm/files.xlp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/mips/nlm/files.xlp b/sys/mips/nlm/files.xlp index 40b9899c26326a..db6c4eba675434 100644 --- a/sys/mips/nlm/files.xlp +++ b/sys/mips/nlm/files.xlp @@ -23,7 +23,7 @@ mips/nlm/dev/net/sgmii.c optional xlpge mips/nlm/dev/net/xaui.c optional xlpge mips/nlm/dev/net/xlpge.c optional xlpge ucore_app.bin optional xlpge \ - compile-with "${CC} -EB -march=mips32 -mabi=32 -msoft-float -I. -I$S -O3 -funroll-loops -fomit-frame-pointer -Qunused-arguments -mno-branch-likely -fno-pic -mno-abicalls -ffunction-sections -fdata-sections -G0 -Wall -Werror -c $S/$M/nlm/dev/net/ucore/crt0_basic.S $S/$M/nlm/dev/net/ucore/ucore_app.c && ${LD} -melf32btsmip_fbsd -d -warn-common -T$S/$M/nlm/dev/net/ucore/ld.ucore.S crt0_basic.o ucore_app.o -o ucore_app && ${OBJCOPY} -S -O binary -R .note -R .comment ucore_app ${.TARGET}" \ + compile-with "${CC} -EB -march=mips32 -mabi=32 -msoft-float -I. -I$S -O3 -funroll-loops -fomit-frame-pointer -Wno-unused-command-line-argument -mno-branch-likely -fno-pic -mno-abicalls -ffunction-sections -fdata-sections -G0 -Wall -Werror -c $S/$M/nlm/dev/net/ucore/crt0_basic.S $S/$M/nlm/dev/net/ucore/ucore_app.c && ${LD} -melf32btsmip_fbsd -d -warn-common -T$S/$M/nlm/dev/net/ucore/ld.ucore.S crt0_basic.o ucore_app.o -o ucore_app && ${OBJCOPY} -S -O binary -R .note -R .comment ucore_app ${.TARGET}" \ no-obj no-implicit-rule before-depend \ clean "crt0_basic.o ucore_app.o ucore_app ucore_app.bin" ucore_app_bin.h optional xlpge \