diff --git a/Makefile b/Makefile
index 37faa76fdaccfd9e9dceb68d35a34695ab534adb..5a7d5917e2801d592adcde4a0e44d4a6e9e61ece 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ COMPILE_S = $(call COMPILE,AS)
 	$(COMPILE_S)
 
 %.ho: %.h
-	$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ -x c $<
+	$(CC) $(CCFLAGS) -c $(CC_O) -x c $<
 
 %.ver: %.v
 	$(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@