git: 7dda139e6d83 - main - ath: missed a chance to use ${ATH_C}

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 01 Mar 2022 21:04:18 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=7dda139e6d8386d1f611d548451cbca030de1df6

commit 7dda139e6d8386d1f611d548451cbca030de1df6
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-03-01 20:58:55 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-03-01 21:00:14 +0000

    ath: missed a chance to use ${ATH_C}
    
    Fixes:          8881d206f4e6 (reviewed by scottl, markj in D34401)
    Noticed by:     markj
    Sponsored by:   Netflix
---
 sys/conf/files | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/conf/files b/sys/conf/files
index 38272255e8a1..49364d4cd6cc 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -980,7 +980,7 @@ dev/ath/ath_hal/ah_eeprom_9287.c \
 	optional ath_hal | ath_ar9287 \
 	compile-with "${ATH_C}"
 dev/ath/ath_hal/ah_regdomain.c	optional ath \
-	compile-with "${NORMAL_C} ${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW} -I$S/dev/ath"
+	compile-with "${ATH_C} ${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW}"
 # ar5210
 dev/ath/ath_hal/ar5210/ar5210_attach.c		optional ath_hal | ath_ar5210 \
 	compile-with "${ATH_C} -I$S/dev/ath/ath_hal"