build: Use portable compiler flag constructs in header compilation rule
This commit is contained in:
parent
24f8961f93
commit
42ade117dd
2
Makefile
2
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)/' $^ > $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user