summaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-08-23 13:46:07 +0000
committerMåns Rullgård <mans@mansr.com>2009-08-23 13:46:07 +0000
commitbce7b696a258efbc912226a104d37972c6f7bd25 (patch)
treecad5dc2bd54fbfe18c45a2c4a4e59785748f703e /common.mak
parentc7312933ce571a686db242d3e4bdd6556af97c22 (diff)
Add PIC flags early so tests they affect give correct results
This is mainly the checks for ebx on x86, but possibly others too. Originally committed as revision 19687 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/common.mak b/common.mak
index d695f38a8c..343ca749b5 100644
--- a/common.mak
+++ b/common.mak
@@ -22,14 +22,14 @@ CPPFLAGS := -DHAVE_AV_CONFIG_H -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(CPPFLAGS)
%.o: %.c
$(CCDEP)
- $(CC) $(CPPFLAGS) $(CFLAGS) $(CC_DEPFLAGS) $(LIBOBJFLAGS) -c $(CC_O) $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(CC_DEPFLAGS) -c $(CC_O) $<
%.o: %.S
$(ASDEP)
- $(AS) $(CPPFLAGS) $(ASFLAGS) $(AS_DEPFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
+ $(AS) $(CPPFLAGS) $(ASFLAGS) $(AS_DEPFLAGS) -c -o $@ $<
%.ho: %.h
- $(CC) $(CPPFLAGS) $(CFLAGS) $(LIBOBJFLAGS) -Wno-unused -c -o $@ -x c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -Wno-unused -c -o $@ -x c $<
%$(EXESUF): %.c