build: Use portable compiler flag constructs in header compilation rule

This commit is contained in:
Diego Biurrun 2012-07-27 12:06:01 +02:00
parent 24f8961f93
commit 42ade117dd
1 changed files with 1 additions and 1 deletions

View File

@ -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)/' $^ > $@