You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
build: Use portable compiler flag constructs in header compilation rule
This commit is contained in:
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)/' $^ > $@
|
||||||
|
Reference in New Issue
Block a user