summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-07-27 12:06:01 +0200
committerDiego Biurrun <diego@biurrun.de>2012-07-28 02:02:20 +0200
commit42ade117dd8b5ab76d5331bd193fcfefe0b96385 (patch)
treebb0e68f88ccc7924a0807a2de13d39cba21f6c7e /Makefile
parent24f8961f93f89746ef5478edd56f8df534939ccf (diff)
downloadffmpeg-42ade117dd8b5ab76d5331bd193fcfefe0b96385.tar.gz
build: Use portable compiler flag constructs in header compilation rule
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 37faa76fda..5a7d5917e2 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)/' $^ > $@