mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-02 21:01:56 +00:00
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)
|
$(COMPILE_S)
|
||||||
|
|
||||||
%.ho: %.h
|
%.ho: %.h
|
||||||
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ -x c $<
|
$(CC) $(CCFLAGS) -c $(CC_O) -x c $<
|
||||||
|
|
||||||
%.ver: %.v
|
%.ver: %.v
|
||||||
$(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
|
$(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
|
||||||
|
Loading…
Reference in New Issue
Block a user