From a77aa5910f4f8323c03e07802349d9a3fcb0e4ea Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Sun, 6 Jan 2019 13:10:36 -0500
Subject: build system: ccenv: added -c to the cc driver-based definition of
 $(AS).

---
 sofort/ccenv/ccenv.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index a8955fb..452694d 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -221,7 +221,7 @@ ccenv_set_tool_variants()
 
 	# as
 	if [ -n "$ccenv_cc" ]; then
-		ccenv_as='$('"$ccenv_makevar_prefix"'CC) -x assembler'
+		ccenv_as='$('"$ccenv_makevar_prefix"'CC) -c -x assembler'
 	elif [ -n "$mb_agnostic" ]; then
 		ccenv_as='$('"$ccenv_makevar_prefix"'AS_ASM)'
 	elif [ "$mb_zealous" = 'gcc' ]; then
-- 
cgit v1.2.3